:root {
  --ds-primary: #3b82f6;
  --ds-primary-soft: rgba(59, 130, 246, 0.08);
  --ds-primary-deep: #1d4ed8;
  --ds-bg: #f5f7fb;
  --ds-bg-alt: #ffffff;
  --ds-text-main: #111827;
  --ds-text-sub: #6b7280;
  --ds-border-soft: #e5e7eb;
  --ds-radius-lg: 18px;
  --ds-radius-md: 12px;
  --ds-radius-pill: 999px;
  --ds-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --ds-shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --ds-max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ds-text-main);
  background-color: var(--ds-bg);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.ds-container {
  max-width: var(--ds-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.ds-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 251, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.ds-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.ds-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ds-logo-mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: radial-gradient(circle at 0 0, #a855f7, #3b82f6);
  color: #fff;
  font-size: 16px;
}

.ds-logo-text {
  font-size: 18px;
}

.ds-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--ds-text-sub);
}

.ds-nav a {
  padding: 6px 0;
  position: relative;
}

.ds-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  transition: width 0.2s ease;
}

.ds-nav a:hover::after {
  width: 16px;
}

/* Buttons */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--ds-radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ds-btn-primary {
  background: linear-gradient(135deg, var(--ds-primary), var(--ds-primary-deep));
  color: #fff;
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

.ds-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.4);
}

.ds-btn-outline {
  border-color: rgba(148, 163, 184, 0.9);
  color: var(--ds-text-main);
  background: rgba(255, 255, 255, 0.7);
}

.ds-btn-outline:hover {
  border-color: var(--ds-primary);
  color: var(--ds-primary-deep);
  background: #fff;
}

.ds-btn-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--ds-text-sub);
}

.ds-btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
  color: var(--ds-text-main);
  background: rgba(255, 255, 255, 0.7);
}

.ds-btn-block {
  width: 100%;
}

.ds-header-cta {
  margin-left: 16px;
}

/* Hero */
.ds-hero {
  padding: 60px 0 40px;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(circle at bottom right, rgba(125, 211, 252, 0.18), transparent 55%);
}

.ds-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.ds-hero-text h1 {
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.ds-hero-subtitle {
  margin: 0 0 24px;
  color: var(--ds-text-sub);
  font-size: 15px;
}

.ds-highlight {
  color: var(--ds-primary-deep);
  font-weight: 600;
}

.ds-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.ds-hero-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ds-hero-tags li {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(209, 213, 219, 0.8);
  color: #4b5563;
}

.ds-hero-card {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), rgba(59, 130, 246, 0.03)),
    #ffffff;
  border-radius: 22px;
  padding: 22px 22px 20px;
  box-shadow: var(--ds-shadow-soft);
  border: 1px solid rgba(191, 219, 254, 0.9);
}

.ds-hero-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.ds-hero-card ul {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 14px;
  color: var(--ds-text-sub);
}

.ds-hero-card li + li {
  margin-top: 6px;
}

.ds-hero-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #6b7280;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.9);
  border: 1px dashed rgba(147, 197, 253, 0.8);
}

/* Sections */
.ds-section {
  padding: 52px 0;
}

.ds-section-alt {
  background: linear-gradient(to bottom, #f9fafb, #eef2ff);
}

.ds-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.ds-section-header h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.ds-section-header p {
  margin: 0;
  font-size: 14px;
  color: var(--ds-text-sub);
}

/* Grid */
.ds-grid {
  display: grid;
  gap: 18px;
}

.ds-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ds-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ds-grid-mobile-2 {
  /* 仅在大屏为 4 列，小屏会降为 2 或 1 列 */
}

/* Cards */
.ds-card {
  background: var(--ds-bg-alt);
  border-radius: var(--ds-radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--ds-shadow-card);
}

.ds-card-soft {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(238, 242, 255, 0.9));
  border-color: rgba(191, 219, 254, 0.9);
}

.ds-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.ds-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ds-text-sub);
}

.ds-card-tip {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
  font-size: 13px;
}

/* Features */
.ds-feature {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.ds-feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--ds-primary-deep);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.ds-feature h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.ds-feature p {
  margin: 0;
  font-size: 13px;
  color: var(--ds-text-sub);
}

/* Process */
.ds-process {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.ds-process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.ds-process-index {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0 0, #3b82f6, #6366f1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.ds-process-step h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.ds-process-step p {
  margin: 0;
  font-size: 13px;
  color: var(--ds-text-sub);
}

/* Contact */
.ds-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.ds-contact-info h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.ds-contact-info p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ds-text-sub);
}

.ds-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.ds-contact-list li + li {
  margin-top: 8px;
}

.ds-contact-label {
  display: inline-block;
  min-width: 72px;
  font-weight: 500;
  color: #374151;
}

.ds-contact-form {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--ds-shadow-card);
}

.ds-form-row {
  margin-bottom: 12px;
}

.ds-form-row label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #4b5563;
}

.ds-form-row input,
.ds-form-row select,
.ds-form-row textarea {
  width: 100%;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: rgba(249, 250, 251, 0.9);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ds-form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.ds-form-row input:focus,
.ds-form-row select:focus,
.ds-form-row textarea:focus {
  border-color: rgba(59, 130, 246, 0.9);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.ds-form-tip {
  margin: 0 0 10px;
  font-size: 12px;
  color: #9ca3af;
}

/* Footer */
.ds-footer {
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  background: #f9fafb;
  padding: 14px 0;
  font-size: 12px;
  color: #6b7280;
}

.ds-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ds-footer-logo .ds-logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  font-size: 14px;
}

.ds-footer-logo .ds-logo-text {
  font-size: 15px;
}

.ds-footer-text {
  margin: 4px 0 0;
}

.ds-footer-right {
  text-align: right;
}

.ds-icp {
  margin: 0 0 2px;
}

.ds-footer-copy {
  margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .ds-header-inner {
    height: 58px;
  }

  .ds-nav {
    display: none;
  }

  .ds-header-cta {
    margin-left: auto;
  }

  .ds-hero {
    padding: 38px 0 30px;
  }

  .ds-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ds-hero-text h1 {
    font-size: 26px;
  }

  .ds-hero-card {
    order: -1;
  }

  .ds-section {
    padding: 40px 0;
  }

  .ds-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-process-step {
    border-radius: 16px;
  }

  .ds-contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .ds-contact-form {
    order: -1;
  }
}

@media (max-width: 640px) {
  .ds-container {
    padding: 0 16px;
  }

  .ds-hero-text h1 {
    font-size: 23px;
  }

  .ds-hero-subtitle {
    font-size: 14px;
  }

  .ds-grid-3,
  .ds-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .ds-process-step {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .ds-process-step p {
    font-size: 12px;
  }

  .ds-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ds-footer-right {
    text-align: left;
  }
}

