/* 参考 1587.ciyuantiaoyue.com/web，适配外卖点餐红色主题 */
:root {
  --bg-top: #FFF5F5;
  --bg-bottom: #FFF0F0;
  --panel-bg: rgba(255, 255, 255, 0.88);
  --panel-border: rgba(243, 63, 71, 0.18);
  --text-main: #333333;
  --text-sub: #8a4048;
  --text-soft: #999999;
  --accent: #F33F47;
  --accent-deep: #E60012;
  --accent-light: #FFE8E8;
  --shadow-main: 0 24px 60px rgba(230, 0, 18, 0.14);
  --shadow-soft: 0 10px 30px rgba(243, 63, 71, 0.1);
  --gradient-primary: linear-gradient(135deg, #F33F47 0%, #E60012 100%);
  --gradient-warm: linear-gradient(180deg, #FFE8E8 0%, #FFF5F5 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  min-height: 100vh;
  color: var(--text-main);
  overflow-x: hidden;
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(243, 63, 71, 0.12), rgba(243, 63, 71, 0)),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* 导航栏 */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(255, 245, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(243, 63, 71, 0.1);
  padding: 10px 0;
}

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

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 16px;
  border: 1px solid rgba(243, 63, 71, 0.2);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(243, 63, 71, 0.08);
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(243, 63, 71, 0.1);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
}

/* Hero */
.hero-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 60px;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: 80px;
  left: 10%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(243, 63, 71, 0.2) 0%, rgba(243, 63, 71, 0) 72%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(243, 63, 71, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-badge i {
  color: var(--accent);
}

.hero-title {
  font-size: 46px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-desc {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(243, 63, 71, 0.22);
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(230, 0, 18, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(230, 0, 18, 0.32);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(243, 63, 71, 0.28);
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 63, 71, 0.45);
  color: var(--accent);
}

/* 通用区块 */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(243, 63, 71, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-desc {
  max-width: 520px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* 关于我们 */
.about-card {
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 245, 245, 0.88) 100%);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-soft);
}

.about-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.about-content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 245, 245, 0.95);
  border: 1px solid rgba(243, 63, 71, 0.15);
  font-size: 14px;
  color: var(--text-sub);
  font-weight: 600;
}

.about-feature-item i {
  color: var(--accent);
  font-size: 16px;
}

/* 产品功能 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(243, 63, 71, 0.15);
  box-shadow: 0 12px 28px rgba(243, 63, 71, 0.06);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(243, 63, 71, 0.12);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 10px 20px rgba(230, 0, 18, 0.22);
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* 应用展示 */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.screenshot-item {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(243, 63, 71, 0.15);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screenshot-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-main);
}

.screenshot-item img {
  width: 100%;
  display: block;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.screenshot-caption {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  text-align: center;
  background: rgba(255, 245, 245, 0.6);
}

/* 联系我们 */
.contact-section {
  padding-bottom: 40px;
}

.contact-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(243, 63, 71, 0.15);
  box-shadow: var(--shadow-soft);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
}

.contact-item a,
.contact-item-static {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 245, 245, 0.95);
  border: 1px solid rgba(243, 63, 71, 0.15);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-item a:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 63, 71, 0.32);
}

.contact-item-full {
  grid-column: 1 / -1;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(230, 0, 18, 0.2);
}

.contact-label {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
}

/* 页脚 */
.site-footer {
  text-align: center;
  padding: 32px 24px 48px;
  border-top: 1px solid rgba(243, 63, 71, 0.15);
}

.site-footer p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-soft);
}

.site-footer a {
  color: var(--text-sub);
}

.site-footer a:hover {
  color: var(--accent);
}

/* 移动端 */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 245, 245, 0.98);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(243, 63, 71, 0.18);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
  }

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

  .about-card {
    padding: 28px 22px;
  }

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

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

  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 100px;
  }

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

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

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