section {
  padding: 80px 0;
}

/* Hero Section */
.hero-section {
  background: url(/Public/images/soubg.jpg) no-repeat center 0;
  padding: 120px 0;
}

.hero-flex {
  display: flex;
  align-items: center;
  gap: 60px;
  color: #ffffff;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 500px;
  font-weight: 300;
}

.btn-primary {
  background: #007eff;
  color: white !important;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  border: none;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all 0.3s ease;
  margin-right: 15px;
  margin-bottom: 15px;
}

.btn-primary:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
}
.btn-price {
  background: #ffffff;
  color: #0066d1 !important;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  border: 1px solid #0066d1;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none !important;
}
/* Content Block (Transition) */
.content-block {
  text-align: center;
  background: #fff;
}

section h2 {
  font-size: 2rem;
}

.content-block p {
  font-size: 18px;
  color: #64748b;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.8;
}

.contetnt-list {
  display: inline-block;
  text-align: left;
  margin-top: 20px;
}
.contetnt-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  font-weight: 600;
}
.contetnt-list li::before {
  content: "✓";
  color: #007eff;
  margin-right: 12px;
  font-weight: bold;
  flex-shrink: 0;
}
.tag-list {
  display: inline-block;
  text-align: left;
  margin-top: 20px;
}
.tag-list li {
  background: #0f172a;
  color: #ffffff;
  padding: 10px 32px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}
.flag-btn {
  display: inline-block;
  margin-top: 20px;
  background: #007eff;
  color: white !important;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  border: none;
  white-space: nowrap;
  text-decoration: none !important;
} /* How it Works */
.how-section {
  background-color: #f9fbff;
}

.how-flex {
  display: flex;
  gap: 80px;
}

.how-intro {
  flex: 0 0 400px;
}
.how-steps {
  flex: 1;
}

.step-item {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
}

.step-number {
  flex: 0 0 48px;
  height: 48px;
  background: #007eff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step-content p {
  color: #64748b;
  font-size: 16px;
}

.grid-header {
  text-align: center;
  margin-bottom: 40px;
}

.grid-header h2 {
  margin-bottom: 16px;
}

.grid-header p {
  color: #64748b;
  font-size: 18px;
}

.threat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.threat-card {
  padding: 40px 40px;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.threat-card:hover {
  border-color: #007eff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.card-idx {
  font-size: 12px;
  font-weight: 700;
  color: #007eff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: block;
}

.threat-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.threat-card p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
}

.card-link {
  margin-top: auto;
  padding-top: 30px;
  color: #007eff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* CTA Card */
.cta-card {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.cta-card h3 {
  color: #fff;
}
.cta-card .card-idx {
  color: #3b82f6;
}
.cta-card p {
  color: #94a3b8;
}

/* End-to-End Features */
.feature-section {
  background: #f9fbff;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.feature-item {
  padding: 40px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #000000;
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.feature-item p {
  font-size: 15px;
  color: #64748b;
}
.feature-item p i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
  height: 60px;
  width: 60px;
  font-size: 45px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
}
/* ------------------- */
.threat-info {
  gap: 40px;
}
.left-threat {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}
.right-threat {
  flex-shrink: 0;
}
.form-container {
  background-color: #f9fbff;
  width: 100%;
  max-width: 510px;
  padding: 40px;
  border-radius: 8px;
}
/* 响应式适配 */
@media (max-width: 1024px) {
  .hero-flex,
  .how-flex {
    flex-direction: column;
    text-align: center;
  }
  .how-flex .step-content {
    text-align: left;
  }
  .threat-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-intro {
    flex: none;
    width: 100%;
  }
}
@media (max-width: 992px) {
  .threat-info {
    flex-direction: column;
  }
  .left-threat {
    position: relative;
    top: 0;
  }
  .form-container {
    max-width: none;
  }
}
@media (max-width: 640px) {
  .threat-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
/* ----------------------------------------- */

.form-group {
  margin-bottom: 12px;
  position: relative;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
  color: #4b5563;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
  color: #1f2937;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: #2196f3;
}

/* --- Error Styles (UI Match) --- */
.form-control.is-invalid {
  border-color: #dc2626;
  background-color: #fff;
}

.error-message {
  display: none;
  color: #dc2626;
  background-color: rgb(244 67 54 / 14%); /* 浅红色背景 */
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 4px;
  width: 100%;
}

.global-error {
  display: none;
  background-color: rgb(244 67 54 / 14%);
  color: #dc2626;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}

/* --- Dynamic Links Area --- */
.link-item {
  margin-bottom: 16px;
}

.link-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.link-header label {
  margin-bottom: 0; /* Remove default label margin inside header */
}

.btn-remove {
  font-size: 14px;
  color: #c65d52;
  text-decoration: underline;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.btn-remove:hover {
  color: #b04e44;
}

/* --- Add Another Button --- */
.btn-add-another {
  background: #fff;
  border: 1px solid #d1d5db;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #374151;
}
.btn-add-another:hover {
  background-color: #f9fafb;
}

/* --- File Upload --- */
.upload-area {
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
  background-color: #f9fafb;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.upload-area.drag-over {
  border-color: #c65d52;
  background-color: #fff5f5;
}
.upload-icon {
  width: 48px;
  height: 48px;
  background-color: #fde68a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}
.upload-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
  color: #111827;
}
.upload-desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
}
.btn-browse {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  margin-left: 6px;
}
#file-input {
  display: none;
}
.file-list {
  margin-top: 10px;
  font-size: 14px;
  color: #059669;
}
#clear-files {
  display: none;
  margin-left: 10px;
  color: #dc2626;
  cursor: pointer;
  text-decoration: underline;
  font-size: 13px;
  border: none;
  background: none;
}
/* --- Submit Button --- */
.btn-submit {
  width: 100%;
  background-color: #007eff;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }
}
/* ------------- */
.price-section {
  background-color: #f9fbff;
}
.premium-price-card {
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.price-header {
  margin-bottom: 40px;
}

.title {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.price-list {
  display: flex;
  flex-direction: column;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #eeeeee;
  transition: all 0.3s ease;
}

.price-item:last-child {
  border-bottom: none;
}

/* 悬停效果：轻微向右平移 */
.price-item:hover {
  padding-left: 8px;
}

.item-info {
  flex: 1;
  padding-right: 20px;
}

.item-name {
  font-size: 18px;
  margin: 0 0 6px 0;
  font-weight: 500;
}

.item-desc {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.item-price {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  font-variant-numeric: tabular-nums; /* 确保数字对齐 */
}
/* 移动端适配 */
@media (max-width: 480px) {
  .price-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .item-price {
    margin-top: 12px;
  }
}
