/* 基础变量 */
:root {
  --bg-color: #030407;
  /* 极致深色但非纯黑，带有高级感 */
  --text-main: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.5);
  --border-color: rgba(255, 255, 255, 0.15);
  --input-bg: rgba(255, 255, 255, 0.03);
  --input-focus-border: rgba(34, 211, 238, 0.7);
  /* 青光边界 */
  --pill-bg: rgba(255, 255, 255, 0.05);
  --pill-active-bg: #FFFFFF;
  --pill-active-text: #000000;
  --error-color: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  /* 确保一屏显示，禁止滚动 */
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 强烈的左侧破晓光效 —— 覆盖整个视口，彻底消除断层 */
.light-glow-left {
  position: fixed;
  inset: 0;
  /* 冷白色光感，不偏黄，高级克制 */
  background:
    radial-gradient(ellipse 65% 85% at -5% 50%,
      rgba(255, 255, 255, 0.65) 0%,
      rgba(220, 235, 255, 0.3) 30%,
      rgba(180, 210, 255, 0.08) 60%,
      transparent 82%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: glow-fade-in 2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes glow-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 顶部导航 */
.navbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 5%;
  width: 100%;
}

.logo {
  height: 36px;
  object-fit: contain;
}

.nav-button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 40px;
  transition: all 0.2s ease;
}

.nav-button:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* 主内容区 */
.container {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5% 8%;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* 大标题区域 */
.title-group {
  margin-bottom: 2rem;
}

.coming-soon {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-bottom: 0.5rem;
  padding-left: 2px;
}

.main-title {
  /* 调整字体大小，确保一排能放下 */
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* 状态 Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid rgba(34, 211, 238, 0.2);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.status-badge .dot {
  width: 8px;
  height: 8px;
  background-color: #22d3ee;
  border-radius: 50%;
  box-shadow: 0 0 12px #22d3ee;
}

/* 表单容器 */
.form-wrapper {
  max-width: 680px;
}

.input-section {
  margin-bottom: 2rem;
}

.input-section label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

/* 交互药丸 (Pills) */
.pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  background: var(--pill-bg);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.pill:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.pill.active {
  background: var(--pill-active-bg);
  color: var(--pill-active-text);
  border-color: var(--pill-active-bg);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* 明显的输入框矩阵，增加发光效果让其非常显眼 */
.contact-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  /* 显眼的发光外边框效果 */
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.input-field {
  width: 100%;
}

input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  padding: 0 20px;
  color: var(--text-main);
  outline: none;
  transition: all 0.3s;
  border-radius: 12px;
}

input:focus {
  border-color: var(--input-focus-border);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.1);
}

input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* 主次输入框差异化 */
.primary-input input {
  height: 64px;
  font-size: 1.25rem;
  font-weight: 500;
}

.secondary-input input {
  height: 48px;
  font-size: 0.95rem;
  background: transparent;
  border-style: dashed;
}

/* 超大提交按钮区域 */
.action-row {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.action-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* 按钮多彩发光包裹器 */
.super-btn-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.super-btn-wrapper::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  /* 纯白色柔光，简洁高级 */
  background: rgba(255, 255, 255, 0.4);
  z-index: -1;
  border-radius: 64px;
  filter: blur(16px);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.super-btn-wrapper:hover::before {
  opacity: 1;
}

.super-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--text-main);
  color: #000;
  border: none;
  padding: 20px 48px;
  border-radius: 60px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  width: auto;
  min-width: 320px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.super-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(34, 211, 238, 0.4);
  background: #f8fafc;
}

.super-btn:active {
  transform: translateY(1px);
}

.super-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.arrow-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.super-btn:hover .arrow-icon {
  transform: translateX(6px);
}

/* 成功状态 */
.success-wrapper {
  display: none;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.success-title {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.success-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.success-link {
  color: #22d3ee;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.success-link:hover {
  color: #ffffff;
}

.message {
  font-size: 0.95rem;
  font-weight: 500;
}

.error-message {
  color: var(--error-color);
}

/* 入场动画 */
.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slide-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fade-in 1.5s ease-out forwards;
}

@keyframes slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

/* 响应式手机端适配 */
@media (max-width: 768px) {

  /* 手机开启滚动，防止内容溢出 */
  body {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .container {
    padding: 20px 6%;
    justify-content: flex-start;
    margin-top: 0;
  }

  .main-title {
    font-size: 1.75rem;
    /* 更小的字体，一屏放得下 */
    white-space: normal;
    /* 允许换行 */
    letter-spacing: -0.02em;
  }

  .status-badge {
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
  }

  .pills-group {
    gap: 8px;
  }

  .pill {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .super-btn {
    width: 100%;
    min-width: 0;
    padding: 16px 20px;
    font-size: 1rem;
  }

  .super-btn-wrapper {
    width: 100%;
  }

  .action-buttons {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .github-nav-btn {
    width: 100%;
    justify-content: center;
  }

  .contact-inputs {
    padding: 16px;
  }

  .primary-input input {
    height: 52px;
    font-size: 1rem;
  }
}