* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

body {
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
  padding: 20px;
  min-height: 100vh;
}

/* 容器样式 */
.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

/* 头部样式 */
.header {
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  color: white;
  padding: 30px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.2;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.logo i {
  font-size: 2.8rem;
  margin-right: 18px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

.header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
@media (min-width: 769px) {
  .header h1 br {display: none;}
}

.header p {
  opacity: 0.95;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* 内容区域 */
.content {
  padding: 35px 30px;
}

/* 步骤指示器 */
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  padding: 0 10px;
}

.step-indicator:before {
  content: "";
  position: absolute;
  top: 20px;
  left: 15%;
  right: 15%;
  height: 3px;
  background-color: #e0e0e0;
  z-index: 1;
  border-radius: 4px;
}

.step {
  text-align: center;
  z-index: 2;
  position: relative;
  flex: 1;
}

.step-number {
  width: 44px;
  height: 44px;
  background-color: #e0e0e0;
  color: #777;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step.active .step-number {
  background-color: #1a73e8;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.15);
}

.step.completed .step-number {
  background-color: #34a853;
  color: white;
}

.step.completed .step-number::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.step-label {
  font-size: 0.9rem;
  color: #777;
  font-weight: 500;
  transition: all 0.3s ease;
}

.step.active .step-label {
  color: #1a73e8;
  font-weight: 600;
  transform: translateY(-2px);
}

/* 表单区域 */
.form-section {
  display: none;
}

.form-section.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-section h2 {
  color: #1a73e8;
  margin-bottom: 20px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8f0fe;
}

.form-section h2 i {
  margin-right: 10px;
  font-size: 1.4rem;
}

.form-section p {
  margin-bottom: 25px;
  color: #666;
  line-height: 1.7;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
  font-size: 1.05rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fff;
}

.form-control:focus {
  border-color: #1a73e8;
  outline: none;
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: #777;
  font-size: 0.95rem;
}

/* 按钮样式 */
.btn {
  padding: 14px 28px;
  background-color: #1a73e8;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn:hover {
  background-color: #0d47a1;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.btn-secondary {
  background-color: #5f6368;
}

.btn-secondary:hover {
  background-color: #4a4d52;
}

/* 按钮禁用状态 */
.btn:disabled,
.btn[disabled] {
  background-color: #cccccc !important;
  color: #999999 !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  box-shadow: none !important;
  transform: none !important;
}

.btn:disabled:hover,
.btn[disabled]:hover {
  background-color: #cccccc !important;
  transform: none !important;
  box-shadow: none !important;
}

/* 倒计时结束后的就绪状态 - 轻微闪烁提示 */
.btn-ready {
  animation: pulse-highlight 1.5s ease-in-out;
}

/* btn-secondary按钮在就绪状态时显示为浅蓝色 */
.btn-secondary.btn-ready {
  background-color: #72adfb !important;
  color: white !important;
}

.btn-secondary.btn-ready:hover {
  background-color: #1a73e8 !important;
}

@keyframes pulse-highlight {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 195, 247, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(79, 195, 247, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 195, 247, 0);
  }
}

.btn-success {
  background-color: #34a853;
}

.btn-success:hover {
  background-color: #2e8b47;
}

.btn-full {
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* 验证码区域 */
.verification-code {
  display: flex;
  gap: 12px;
}

.verification-code input {
  flex: 1;
}

.verification-code .btn {
  white-space: nowrap;
  padding: 14px 20px;
}

.countdown {
  color: #1a73e8;
  font-weight: 600;
  font-size: 0.95rem;
}

/* 结果区域 */
.result-section {
  display: none;
  /* padding: 25px; */
  border-radius: 8px;
  margin-top: 25px;
}

.result-section.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.result-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.result-cont {
  margin-bottom: 30px;
}

.result-cont .section {
  margin-bottom: 25px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  background-color: #fff;
}

.result-cont .section:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.result-cont .section-title {
  background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 100%);
  color: #1a73e8;
  padding: 16px 20px;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #c5d9f5;
}

.result-cont .section-title i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.result-cont .section-content {
  padding: 22px 24px;
  line-height: 1.8;
  color: #333;
}

.result-cont .section-content p {
  margin-bottom: 15px;
  text-align: justify;
}

/* ========== 默认蓝色主题（基础样式）========== */
.result-cont .section-content h3 {
  font-size: 1.05rem;
  color: #1a73e8;
  margin: 20px 0 12px 0;
  font-weight: 600;
}

.result-cont .section-content h3:first-child {
  margin-top: 0;
}

.result-cont .section-content ul {
  margin: 12px 0 15px 0;
  padding-left: 0;
  list-style: none;
}

.result-cont .section-content ul li {
  position: relative;
  padding: 10px 15px 10px 35px;
  margin-bottom: 10px;
  background-color: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid #e8f0fe;
  transition: all 0.2s ease;
  line-height: 1.7;
}

.result-cont .section-content ul li:hover {
  background-color: #e8f0fe;
  border-left-color: #1a73e8;
  transform: translateX(3px);
}

.result-cont .section-content ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  top: 21px;
  left: 15px;
  background: #1a73e8;
}

.result-cont .section-content ul li strong {
  color: #1a73e8;
  font-weight: 600;
}

.result-cont .section-content ul li:last-child {
  margin-bottom: 0;
}

/* ========== 红色主题（通过添加 theme-red 类）========== */
.theme-red {
  border-color: #ffebee;
  box-shadow: 0 2px 10px rgba(244, 67, 54, 0.08);
}

.theme-red:hover {
  box-shadow: 0 5px 20px rgba(244, 67, 54, 0.15);
  border-color: #ffcdd2;
}

.theme-red .section-title {
  background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
  color: #d32f2f;
  border-bottom-color: #ef9a9a;
}

.theme-red .section-title i {
  color: #d32f2f;
}

.theme-red .section-content h3 {
  color: #d32f2f;
}

.theme-red .section-content ul li {
  border-left-color: #ffcdd2;
}

.theme-red .section-content ul li:hover {
  background-color: #ffebee;
  border-left-color: #d32f2f;
}

.theme-red .section-content ul li::before {
  background: #d32f2f;
}

.theme-red .section-content ul li strong {
  color: #c62828;
}

/* ========== 橙色主题（通过添加 theme-orange 类）========== */
.theme-orange {
  border-color: #ffe0b2;
  box-shadow: 0 2px 10px rgba(255, 152, 0, 0.1);
}

.theme-orange:hover {
  box-shadow: 0 5px 20px rgba(255, 152, 0, 0.18);
  border-color: #ffcc80;
}

.theme-orange .section-title {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #e65100;
  border-bottom-color: #ffcc80;
}

.theme-orange .section-title i {
  color: #e65100;
}

.theme-orange .section-content h3 {
  color: #ef6c00;
}

.theme-orange .section-content ul li {
  border-left-color: #ffe0b2;
}

.theme-orange .section-content ul li:hover {
  background-color: #fff3e0;
  border-left-color: #ff9800;
}

.theme-orange .section-content ul li::before {
  background: #ff9800;
}

.theme-orange .section-content ul li strong {
  color: #e65100;
}

/* ========== 提示框样式 ========== */
.highlight-box {
  margin-top: 15px;
  padding: 15px 18px;
  background-color: #fff3e0;
  border-left: 4px solid #f57c00;
  border-radius: 6px;
  line-height: 1.7;
}

.highlight-box strong {
  color: #f57c00;
}

/* 信息框样式 */
.info-box {
  margin-top: 15px;
  padding: 15px 18px;
  background-color: #e8f5e9;
  border-left: 4px solid #34a853;
  border-radius: 6px;
  line-height: 1.7;
}

.info-box strong {
  color: #34a853;
}

.result-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 22px;
  font-size: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.white-list .result-icon {
  background-color: #e8f5e9;
  color: #34a853;
}

.not-white-list .result-icon {
  background-color: #fff3e0;
  color: #f57c00;
}

.result-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.white-list .result-title {
  color: #1a73e8;
}

.not-white-list .result-title {
  color: #f57c00;
}

/* 底部样式 */
.footer {
  text-align: center;
  padding: 25px;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid #e0e0e0;
  margin-top: 25px;
  background-color: #f5f7fa;
}

.disclaimer {
  font-size: 0.85rem;
  color: #777;
  margin-top: 8px;
  line-height: 1.5;
}

/* 加载状态 */
.loading {
  text-align: center;
  padding: 40px;
}

.loading i {
  font-size: 2.5rem;
  color: #1a73e8;
  margin-bottom: 20px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.loading p {
  color: #666;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f5f7fa;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1a73e8;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header {
    padding: 20px;
  }
  .step-indicator {
    padding-left: 0;
    padding-right: 0;
  }
  .content {
    padding: 25px 20px;
  }

  .step-indicator:before {
    left: 8%;
    right: 8%;
  }

  .step-label {
    font-size: 0.8rem;
  }

  .btn-group {
    flex-direction: column;
  }

  .result-header {
    flex-direction: column;
    text-align: center;
  }

  .result-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .verification-code {
    flex-direction: column;
  }

  .header h1 {
    font-size: 1.6rem;
  }

  /* result-cont响应式优化 */
  .result-cont .section-content {
    padding: 18px 16px;
  }

  .result-cont .section-title {
    padding: 14px 16px;
    font-size: 1.05rem;
  }

  .result-cont .section-content ul li {
    padding: 10px 12px 10px 32px;
    font-size: 0.95rem;
  }

  .result-cont .section-content ul li::before {
    left: 12px;
  }

  .highlight-box,
  .info-box {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  .header h1 {
    font-size: 1.2rem;
  }
}

@media (max-width: 320px) {
  .header h1 {
    font-size: 1rem;
  }
}

/* 白名单企业特定样式 */
.white-list .section-content ul li {
  padding: 12px 15px 12px 35px;
}

.white-list .section-content ul li h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #1a73e8;
  font-weight: 600;
}

.white-list .section-content ul li .intro {
  color: #555;
  line-height: 1.8;
  margin-top: 5px;
}

.white-list .section-content ul li .intro p {
  margin-bottom: 0;
}

.red-text {
  color: #cf1322 !important;
  font-weight: 500;
}
