:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--primary); }
.btn-nav {
  background: var(--primary); color: #fff !important;
  padding: 8px 18px; border-radius: 9px; font-weight: 600;
}
.btn-nav:hover { background: var(--primary-dark); }

/* Hero */
.hero {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero-inner { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; min-width: 0; }
.badge-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: #dbeafe; color: var(--primary-dark); font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.15; margin: 0 0 20px; font-weight: 800; letter-spacing: -.02em; }
.hero h1 span { color: var(--primary); }
.hero-text > p { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: .15s; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); }

/* Phone mockup */
.hero-visual { flex: 0 0 300px; display: flex; justify-content: center; }
.phone {
  width: 270px; height: 520px;
  background: #fff; border: 10px solid #0f172a; border-radius: 38px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, .18);
  position: relative; overflow: hidden;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90px; height: 20px; background: #0f172a; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-screen { padding: 36px 16px 16px; height: 100%; background: #f8fafc; }
.mock-header { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.mock-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px; margin-bottom: 10px; box-shadow: 0 2px 6px rgba(15, 23, 42, .04);
}
.mock-card b { display: block; font-size: 14px; }
.mock-card small { color: var(--muted); font-size: 11px; }
.mock-dish {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.mock-red { background: linear-gradient(135deg, #f87171, #dc2626); }
.mock-green { background: linear-gradient(135deg, #4ade80, #16a34a); }
.mock-orange { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.mock-btn {
  margin-top: 16px; text-align: center; padding: 11px;
  background: var(--primary); color: #fff; border-radius: 9px; font-size: 14px; font-weight: 600;
}

/* Features */
.features { padding: 90px 0; }
.section-title { text-align: center; font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; font-weight: 800; }
.section-sub { text-align: center; color: var(--muted); font-size: 16px; margin: 0 0 50px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.feature-card {
  padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15, 23, 42, .08); border-color: #bfdbfe; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.feature-icon.blue { background: #dbeafe; color: #1d4ed8; }
.feature-icon.green { background: #dcfce7; color: #16a34a; }
.feature-icon.orange { background: #fef3c7; color: #d97706; }
.feature-icon.purple { background: #ede9fe; color: #7c3aed; }
.feature-card h3 { margin: 0 0 10px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* About */
.about { background: #f8fafc; padding: 80px 0; }
.about-inner { display: flex; align-items: center; gap: 60px; }
.about-inner > div:first-child { flex: 1; }
.about-inner .section-title { text-align: left; }
.about-inner p { color: var(--muted); font-size: 16px; max-width: 560px; }
.stats-demo { display: flex; gap: 40px; flex: 0 0 auto; }
.stats-demo div { text-align: center; }
.stats-demo strong { display: block; font-size: 48px; color: var(--primary); font-weight: 800; }
.stats-demo span { color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.site-footer p { margin: 4px 0; font-size: 14px; }
.copyright { font-size: 12px !important; }

@media (max-width: 860px) {
  .hero-inner, .about-inner { flex-direction: column; gap: 40px; }
  .hero-visual { flex: auto; }
  .nav { gap: 16px; }
  .nav a:not(.btn-nav) { display: none; }
  .hero { padding: 60px 0; }
}
