/* ========== Brand & base tokens ========== */
:root {
  --bp-bg: #f5f3ff;
  --bp-primary: #7c3aed;
  --bp-primary-soft: #ede9fe;
  --bp-primary-dark: #4c1d95;
  --bp-accent: #6366f1;
  --bp-text: #0f172a;
  --bp-muted: #6b7280;
  --bp-border: #e5e7eb;
  --bp-radius-lg: 24px;
  --bp-radius-md: 18px;
  --bp-shadow-soft: 0 18px 40px rgba(148, 163, 184, 0.25);
  --bp-shadow-hero: 0 24px 60px rgba(129, 140, 248, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    sans-serif;
  color: var(--bp-text);
  background: radial-gradient(circle at top, #faf5ff 0, #e0e7ff 35%, #f5f3ff 70%);
}

/* ========== Global ========== */

a {
  color: var(--bp-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Header ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--bp-text);
}

.brand-tagline {
  font-size: 12px;
  color: var(--bp-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav a {
  position: relative;
  font-size: 14px;
  color: var(--bp-muted);
  padding-bottom: 4px;
}

.nav a:hover {
  color: var(--bp-primary);
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #a855f7, #6366f1);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* ========== Hero ========== */

.hero {
  padding: 56px 0;
}

.hero.hero-gradient {
  background: radial-gradient(circle at top left, #faf5ff 0, #e0e7ff 40%, #f5f3ff 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-copy {
  flex: 1.8;
}

.hero-copy h1 {
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--bp-muted);
  max-width: 520px;
line-height: 1.6;   /* 新增这一行 */
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-badges span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: var(--bp-muted);
}

/* 右侧卡片 */
.hero-card {
  flex: 1.4;
  background: #ffffff;
  border-radius: var(--bp-radius-lg);
  padding: 20px 22px 18px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--bp-shadow-hero);
  font-size: 14px;
}

.hero-card h3 {
  margin: 0 0 8px;
}

.hero-card p {
  margin: 0;
  color: var(--bp-muted);
}

.hero-card .hero-list {
  margin: 10px 0 8px;
  padding-left: 18px;
  color: var(--bp-muted);
  font-size: 13px;
}

.hero-card .hero-note {
  font-size: 12px;
  color: #6366f1;
}

/* ========== Buttons ========== */

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  border: none;
  border-radius: 999px;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 12px 30px rgba(129, 140, 248, 0.45);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(129, 140, 248, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  background: rgba(255, 255, 255, 0.9);
  color: var(--bp-primary-dark);
  font-size: 14px;
  text-decoration: none;
}

/* ========== Sections & grids ========== */

.section {
  padding: 56px 0;
}

.section h2 {
  margin: 0;
  font-size: 24px;
}

.section-title-gradient {
  background: linear-gradient(120deg, #a855f7, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title-centered {
  text-align: center;
}

.section-title-centered + .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--bp-muted);
  max-width: 520px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

/* 通用卡片：What we do + Pricing */
.card {
  background: #ffffff;
  border-radius: var(--bp-radius-md);
  padding: 20px 20px 18px;
  border: 1px solid var(--bp-border);
  box-shadow: var(--bp-shadow-soft);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--bp-muted);
line-height: 1.6;
}

.card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--bp-muted);
line-height: 1.6;
}

/* Pricing 部分再加一点“价格卡”感觉 */
#pricing .card {
  border-top: 3px solid #a855f7;
}
.price-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 10px;
  gap: 2px;
}

.price-amount {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #a855f7, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-featured {
  background: radial-gradient(circle at top, #f5f3ff 0, #ffffff 55%);
  border-top-color: #f97316;
  box-shadow: 0 22px 50px rgba(129, 140, 248, 0.55);
  transform: translateY(-4px);
  position: relative;
}

.card-featured::before {
  content: "Most popular";
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f97316;
  color: #fff7ed;
}


.price-label {
  font-size: 13px;
  color: var(--bp-muted);
}


/* Call-to-action 在 Pricing 下方水平居中 */
.section-cta {
  margin-top: 28px;
  text-align: center;
}

/* ========== HEADINGS & SUBTITLES ========== */

.heading-gradient {
  background: linear-gradient(120deg, #a855f7, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.heading-centered {
  text-align: center;
}

.section-subtitle {
  max-width: 640px;
  margin: 0.25rem auto 2rem;
  line-height: 1.6;
  color: #4b5563;
  font-size: 0.95rem;
text-align: center;
}
/* ========== PRICING ========== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.pricing-card {
  border-radius: 18px;
  padding: 1.75rem 1.7rem 1.9rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

/* 标题通用部分 */
.price-title {
  margin: 0 0 0.75rem;
  text-align: center;
}

.price-amount {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  background: linear-gradient(120deg, #a855f7, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.price-label {
  display: block;
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
}

/* 列表文字 */
.pricing-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

.pricing-list li + li {
  margin-top: 0.45rem;
}

/* ⭐️ 599：主推卡，大小不变，只是颜色完全换掉 */
.pricing-card-featured {
  border: none;
  background: linear-gradient(145deg, #7c3aed, #4c1d95);
  color: #f9fafb;
  box-shadow: 0 22px 50px rgba(76, 29, 149, 0.45);
}

/* 599 内部文字颜色单独调 */
.pricing-card-featured .price-amount {
  background: none;
  color: #ffffff;
}

.pricing-card-featured .price-label {
  color: #e5e7eb;
}

.pricing-card-featured .pricing-list {
  color: #e5e7eb;
}

/* hover 只轻微上浮，不改大小 */
.pricing-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(76, 29, 149, 0.55);
}

/* 响应式 */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}



/* ========== Case Studies grid ========== */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.case-card {
  background: #ffffff;
  border-radius: var(--bp-radius-md);
  padding: 14px 14px 16px;
  border: 1px solid var(--bp-border);
  box-shadow: var(--bp-shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.case-cover {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
}

.case-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.case-title {
  font-size: 15px;
  font-weight: 600;
  margin-top: 2px;
}

.case-meta {
  font-size: 12px;
  color: var(--bp-muted);
  margin-top: 4px;
}
.case-platform {
  font-weight: 500;
}

.case-platform-ks {
  color: #05ce78;  /* Kickstarter 绿色 */
}

.case-platform-ig {
  color: #eb1478;  /* Indiegogo 粉红红 */
}


.case-link {
  margin-top: auto;
  font-size: 13px;
  color: var(--bp-primary);
}

/* 空状态 */
.empty-state {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px dashed #cbd5f5;
  color: var(--bp-muted);
  font-size: 14px;
}

/* ========== Forms (Submit / Contact) ========== */

/* 表单整体：两列布局 & 居中 */
.contact-form {
  max-width: 900px;             /* 和上面的卡片差不多宽 */
  margin: 24px auto 0;          /* 上下 + 居中 */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 12px;
}

/* 单个字段 */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 占满两列的字段 */
.form-row.full-row {
  grid-column: 1 / -1;
}

/* 提交按钮这一行 */
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-status {
  font-size: 12px;
  color: #6b7280;
}

/* 小屏幕时自动变回一列 */
@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-row.full-row {
    grid-column: 1 / 2;
  }
}

.form-row label {
  font-size: 13px;
  color: var(--bp-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  border-radius: 10px;
  border: 1px solid var(--bp-border);
  padding: 8px 10px;
  font-size: 14px;
  outline: none;
  background: #ffffff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--bp-primary);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.35);
}

.form-status {
  font-size: 12px;
  color: var(--bp-muted);
}

/* ========== Footer ========== */

.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 16px 0;
  margin-top: 40px;
  font-size: 13px;
  color: var(--bp-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: center;
}

.footer-meta a {
  color: inherit;
}

/* ========== Small hero (Submit / Contact) ========== */

.hero.hero-sm {
  padding: 32px 0 24px;
  background: #f9fafb;
}

.hero.hero-sm .hero-subtitle {
  max-width: 640px;
}

/* ========== Layout helpers ========== */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  margin-top: 24px;
}

/* ========== Responsive ========== */

@media (max-width: 960px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-text {
    display: none; /* 中小屏只展示 logo，节省空间 */
  }
}

@media (max-width: 640px) {
  .hero-inner {
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .grid-3,
  .cases-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
/* ========== CASES GRID & CARD ========== */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(129, 140, 248, 0.6);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.09);
}

.case-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #020617;
}

.case-body {
  padding: 0.95rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.case-title {
  font-weight: 600;
  font-size: 0.98rem;
  color: #111827;
}

.case-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.case-platform {
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #f3f4f6;
  color: #4b5563;
}

.case-platform-ks {
  background: #05c078; /* 接近 Kickstarter 绿 */
  color: #ffffff;
}

.case-platform-ig {
  background: #e51075; /* Indiegogo 红/粉 */
  color: #ffffff;
}

/* 描述文字，多行省略号 */
.case-desc {
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 显示 3 行，多余用 ... */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 响应式：窄屏改为 2 列 / 1 列 */
@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ========== FOOTER ========== */

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(148, 163, 184, 0.7);
}

