/* ===================================
   MTimer 官网样式表
   玻璃态暗黑风格 + 番茄红主题
   =================================== */

/* ===== CSS 变量 ===== */
:root {
  /* 品牌色 */
  --color-tomato: #ff6b6b;
  --color-tomato-light: #ff8a8a;
  --color-tomato-dark: #ff4757;

  /* 辅助色 */
  --color-blue: #3a82f6;
  --color-green: #32cd32;
  --color-purple: #9b8fbb;

  /* 暗黑主题背景 */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a24;

  /* 文字颜色 */
  --text-primary: #e5eaf3;
  --text-secondary: #a3abb2;
  --text-tertiary: #6b7280;

  /* 玻璃态效果 */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 20px;

  /* 动画 */
  --transition-fast: 150ms;
  --transition-normal: 300ms;
  --transition-slow: 500ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== 全局样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-tomato);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-tomato-dark);
}

/* ===== 玻璃态卡片 ===== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all var(--transition-normal) var(--ease-out);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== 渐变文字 ===== */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--color-tomato),
    #ff9a8b,
    var(--color-blue)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== 按钮样式 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal) var(--ease-out);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-tomato),
    var(--color-tomato-dark)
  );
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--color-tomato);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-tomato);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-tomato) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-purple) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  animation: fadeInUp 800ms var(--ease-out) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-tertiary);
}

.stat-divider {
  width: 1px;
  background: var(--glass-border);
}

/* ===== Hero Visual ===== */
.hero-visual {
  position: relative;
  animation: fadeInUp 800ms var(--ease-out) 200ms both;
}

.tomato-demo {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tomato-main {
  width: 320px;
  height: 320px;
  filter: drop-shadow(0 20px 40px rgba(255, 107, 107, 0.3));
  animation: tomatoBounce 3s ease-in-out infinite;
}

@keyframes tomatoBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.leaf {
  transform-origin: 110px 40px;
}

.leaf-left {
  animation: leafSwayLeft 3s ease-in-out infinite;
}

.leaf-right {
  animation: leafSwayRight 3s ease-in-out infinite;
}

.stem {
  transform-origin: 110px 40px;
  animation: stemGrow 3s ease-in-out infinite;
}

@keyframes leafSwayLeft {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-8deg);
  }
}

@keyframes leafSwayRight {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(8deg);
  }
}

@keyframes stemGrow {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.1);
  }
}

.face {
  animation: faceMove 4s ease-in-out infinite;
}

@keyframes faceMove {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(2px, 1px);
  }
  75% {
    transform: translate(-2px, 1px);
  }
}

.timer-text {
  fill: white;
  font-family: monospace;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 浮动卡片 */
.float-card {
  position: absolute;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  animation: floatCard 4s ease-in-out infinite;
}

.float-card-1 {
  top: 20%;
  left: -20px;
  animation-delay: 0s;
}

.float-card-2 {
  top: 60%;
  right: -20px;
  animation-delay: -1.5s;
}

.float-card-3 {
  bottom: -15%;
  left: 10%;
  animation-delay: -3s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-todo {
  background: linear-gradient(135deg, var(--color-blue), #5b9ff8);
}

.card-icon-ai {
  background: linear-gradient(135deg, var(--color-purple), #b8a8d8);
}

.card-icon-focus {
  background: linear-gradient(
    135deg,
    var(--color-tomato),
    var(--color-tomato-light)
  );
}

.card-content {
  display: flex;
  flex-direction: column;
}

.card-label {
  font-size: 12px;
  color: var(--text-tertiary);
}

.card-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== Section 通用样式 ===== */
section {
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.2),
    rgba(255, 107, 107, 0.1)
  );
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 100px;
  font-size: 13px;
  color: var(--color-tomato);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
}

/* ===== Features Section ===== */
.features {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  padding: 32px;
  transition: all var(--transition-normal) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
}

.feature-icon-timer {
  background: linear-gradient(
    135deg,
    var(--color-tomato),
    var(--color-tomato-dark)
  );
}

.feature-icon-todo {
  background: linear-gradient(135deg, var(--color-blue), #5b9ff8);
}

.feature-icon-stats {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.feature-icon-mode {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-description {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 14px;
  position: relative;
  padding-left: 20px;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

/* ===== AI Section ===== */
.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.ai-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.ai-gradient-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-purple) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.ai-gradient-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

.ai-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ai-title {
  font-size: 52px;
  line-height: 1.1;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.ai-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ai-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(155, 143, 187, 0.2),
    rgba(155, 143, 187, 0.1)
  );
  border: 1px solid rgba(155, 143, 187, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-purple);
}

.ai-feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.ai-feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* AI Demo */
.ai-demo {
  padding: 24px;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 16px;
}

.demo-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f57;
}
.dot-yellow {
  background: #ffbd2e;
}
.dot-green {
  background: #28c840;
}

.demo-title {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-left: auto;
}

.demo-messages {
  min-height: 320px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.message {
  display: flex;
  gap: 12px;
  animation: messageSlide 300ms var(--ease-out);
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.message-ai .message-avatar {
  background: linear-gradient(135deg, var(--color-purple), #b8a8d8);
}

.message-user .message-avatar {
  background: var(--glass-bg);
}

.message-content {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.message-ai .message-content {
  background: var(--glass-bg);
  color: var(--text-primary);
}

.message-user .message-content {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.2),
    rgba(255, 107, 107, 0.1)
  );
  border: 1px solid rgba(255, 107, 107, 0.2);
  color: var(--text-primary);
}

.task-list {
  margin: 12px 0;
  padding-left: 20px;
}

.task-list li {
  margin: 8px 0;
  color: var(--text-secondary);
}

.demo-input {
  display: flex;
  gap: 12px;
}

.demo-input input {
  flex: 1;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.demo-input input:focus {
  border-color: var(--color-purple);
}

.demo-send {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-purple), #b8a8d8);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.demo-send:hover:not(:disabled) {
  transform: scale(1.05);
}

/* ===== Stats Section ===== */
.stats-section {
  background: var(--bg-secondary);
}

.stats-demo {
  max-width: 1000px;
  margin: 0 auto;
}

.chart-container {
  padding: 32px;
  margin-bottom: 32px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.chart-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.chart-legend {
  display: flex;
  gap: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-focus {
  background: var(--color-tomato);
}

.legend-break {
  background: var(--color-green);
}

.chart-content {
  height: 220px;
}

.trend-chart {
  width: 100%;
  height: 100%;
}

.axis-label {
  fill: var(--text-tertiary);
  font-size: 12px;
}

.bar-label {
  fill: var(--text-secondary);
  font-size: 12px;
}

.bar {
  transition: all var(--transition-normal);
}

.focus-bar:hover,
.break-bar:hover {
  opacity: 0.8;
}

/* Stats Cards */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-today {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.2),
    rgba(255, 107, 107, 0.1)
  );
  color: var(--color-tomato);
}

.stat-icon-week {
  background: linear-gradient(
    135deg,
    rgba(58, 130, 246, 0.2),
    rgba(58, 130, 246, 0.1)
  );
  color: var(--color-blue);
}

.stat-icon-streak {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.2),
    rgba(245, 158, 11, 0.1)
  );
  color: #f59e0b;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-card-value {
  font-size: 28px;
  font-weight: 700;
}

.stat-card-label {
  font-size: 13px;
  color: var(--text-tertiary);
}

.stat-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.stat-trend-up {
  color: var(--color-green);
}

.stat-trend-fire {
  color: #f59e0b;
}

/* ===== Models Section ===== */
.models-section {
  background: var(--bg-primary);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.model-card {
  padding: 32px;
  text-align: center;
  transition: all var(--transition-normal) var(--ease-out);
  cursor: pointer;
}

.model-card:hover {
  transform: translateY(-4px);
}

.model-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-deepseek {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.2),
    rgba(255, 107, 107, 0.1)
  );
  color: var(--color-tomato);
}

.model-zhipu {
  background: linear-gradient(
    135deg,
    rgba(58, 130, 246, 0.2),
    rgba(58, 130, 246, 0.1)
  );
  color: var(--color-blue);
}

.model-tongyi {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.2),
    rgba(139, 92, 246, 0.1)
  );
  color: #8b5cf6;
}

.model-openai {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.2),
    rgba(16, 185, 129, 0.1)
  );
  color: #10b981;
}

.model-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.model-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.model-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-secondary);
}

.model-card-more {
  background: transparent;
  border: 2px dashed var(--glass-border);
}

.more-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: 120px 24px;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.cta-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.cta-gradient-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-tomato) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.cta-gradient-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.cta-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 64px;
  text-align: center;
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.separator {
  width: 4px;
  height: 4px;
  background: var(--text-tertiary);
  border-radius: 50%;
}

/* ===== Footer ===== */
.footer {
  padding: 64px 24px 32px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
}

.footer-brand {
  max-width: 250px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
}

.footer-logo .logo-text {
  font-size: 24px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-tomato);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .ai-content {
    grid-template-columns: 1fr;
  }

  .ai-demo {
    order: -1;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-cards {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 36px;
  }

  .ai-title {
    font-size: 40px;
  }

  .cta-title {
    font-size: 36px;
  }

  .models-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .tomato-main {
    width: 240px;
    height: 240px;
  }

  .float-card {
    min-width: 140px;
    padding: 12px;
  }

  .section-tag {
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* ===== 可访问性 ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 焦点样式 */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-tomato);
  outline-offset: 2px;
}
