@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* 暖色调配色 - 白色背景 */
  --color-bg: #fefefe;
  --color-surface: #fff8f5;
  --color-elevated: #fff5ee;
  --color-border: #f5e6d3;
  --color-primary: #d97706;
  --color-primary-dark: #b45309;
  --color-text: #1a120b;
  --color-muted: #78350f;
  --color-accent: #f97316;
  --color-warm-1: #f59e0b;
  --color-warm-2: #fb923c;
  --color-warm-3: #f87171;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.1), 0 1px 1px rgba(0,0,0,.05);
  --shadow-md: 0 6px 24px rgba(0,0,0,.1);
  --container: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: #fefefe;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 20px;
  margin: 0 auto;
}

/* 渐变文字 - 暖色调 */
.gradient-text {
  background: linear-gradient(90deg, #d97706, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Header */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 254, 254, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

#site-header.scrolled {
  background: rgba(254, 254, 254, 0.98);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.logo-text:hover {
  color: var(--color-accent);
}

.site-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
}

.nav-link {
  color: var(--color-muted);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-color: transparent;
  color: #fefefe;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text);
  padding: 12px 24px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.btn-outline:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #fefefe 0%, #fff8f5 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at center top, rgba(217,119,6,0.1) 0, rgba(217,119,6,0.05) 25%, rgba(217,119,6,0.02) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: left;
}

.hero-title {
  margin: 0 0 32px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.title-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--color-text);
  margin: 0 0 32px;
  font-weight: 500;
  line-height: 1.2;
}

.subtitle-line {
  display: block;
}

.hero-description {
  font-size: 16px;
  color: var(--color-muted);
  margin: 0 0 32px;
  line-height: 1.6;
  max-width: 480px;
}

.hero-action {
  margin-top: 32px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero-image-placeholder {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(217,119,6,0.1), rgba(249,115,22,0.05));
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon {
  font-size: 60px;
  opacity: 0.8;
  z-index: 1;
}

.glow-circle {
  position: absolute;
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.glow-circle-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(217,119,6,0.2) 0%, transparent 70%);
}

.glow-circle-2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  top: 20%;
  right: 20%;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 0.3; }
  100% { opacity: 0.6; }
}

/* Quote Section */
.quote-section {
  padding: 80px 0;
  background: #fff8f5;
}

.hero-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-text {
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 32px;
  font-style: italic;
}

.quote-author {
  display: block;
  font-size: 16px;
  color: var(--color-muted);
  font-style: normal;
  font-weight: 500;
}

/* Solution Sections */
.solution-section {
  padding: 100px 0;
  background: #fefefe;
}

.solution-section.alt-bg {
  background: #fff8f5;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.solution-grid.reverse .solution-content {
  text-align: right;
  order: 2;
}

.solution-grid.reverse .solution-visual {
  order: 1;
}

.solution-content {
  text-align: left;
}

.solution-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
  color: var(--color-primary);
}

.solution-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--color-muted);
  margin: 0 0 32px;
  font-weight: 500;
}

.solution-description {
  font-size: 18px;
  color: var(--color-text);
  margin: 0 0 32px;
  line-height: 1.6;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.solution-features li {
  font-size: 16px;
  color: var(--color-text);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.feature-check {
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 20px;
}

.feature-check.accent {
  color: var(--color-accent);
}

.solution-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.solution-image-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/3;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.gradient-warm-1 {
  background: linear-gradient(135deg, rgba(217,119,6,0.1), rgba(249,115,22,0.05));
}

.gradient-warm-2 {
  background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(248,113,113,0.05));
}

.gradient-warm-3 {
  background: linear-gradient(135deg, rgba(248,113,113,0.1), rgba(217,119,6,0.05));
}

.placeholder-icon {
  opacity: 0.8;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: #fff8f5;
}

.about-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 48px;
  line-height: 1.2;
  color: var(--color-primary);
}

.about-description {
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 24px;
  text-align: center;
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
  text-align: center;
  background: #fefefe;
}

.cta-subtitle {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.025em;
}

.cta-title {
  margin: 0 0 48px;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--color-primary);
}

.cta-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.email-input {
  flex: 1 1;
  padding: 16px 20px;
  background: #fff8f5;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  color: var(--color-text);
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.email-input::placeholder {
  color: var(--color-muted);
  opacity: 0.7;
}

.email-input:focus {
  border-color: var(--color-primary);
  background: #fff5ee;
  box-shadow: 0 0 0 3px rgba(217,119,6,0.1);
}

.cta-button {
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border: none;
  border-radius: 24px;
  color: #fefefe;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217,119,6,0.3);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
  background: var(--color-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.brand h4 {
  margin: 0 0 8px;
  color: var(--color-primary);
}

.brand p {
  color: var(--color-muted);
  margin: 0;
  font-size: 14px;
}

.links h4 {
  margin: 0 0 8px;
  color: var(--color-text);
}

.links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.links a {
  color: var(--color-muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.links a:hover {
  color: var(--color-text);
}

.legal {
  margin-top: 16px;
  color: var(--color-muted);
  text-align: center;
  font-size: 14px;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #fff8f5;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d97706;
}

/* 选中文本 */
::selection {
  background: rgba(217,119,6,0.3);
  color: #fefefe;
}

/* 焦点样式 */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .site-nav {
    display: none !important;
  }

  .nav-toggle {
    display: flex !important;
  }

  .hero-grid,
  .solution-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  .hero-content {
    text-align: center !important;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .solution-grid.reverse .solution-content {
    text-align: center !important;
    order: 1;
  }

  .solution-grid.reverse .solution-visual {
    order: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .cta-form {
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
  }

  .cta-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero::before {
    width: 600px !important;
    height: 400px !important;
  }
}