:root{
  --bg:#0b0b0b;
  --muted:#EBE6E1;
  --accent:#c66;
  --card:#fff7f4;
}
*{box-sizing:border-box}
body{font-family:Inter,system-ui,Segoe UI,Helvetica,Arial; margin:0; color:#111; background:var(--muted)}
.site-header{position:fixed;left:0;right:0;top:0;height:72px;display:flex;align-items:center;z-index:30}
.site-nav{max-width:none;margin:0;padding:0 40px;display:flex;justify-content:flex-start;align-items:center;width:100%}
.brand{display:flex;align-items:center;gap:8px;font-weight:600;font-family:Inter, system-ui, Arial, sans-serif;color:#111}
.logo-box{display:inline-block;width:36px;height:36px;border-radius:8px;background:#222;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.plus{color:#111;font-weight:600}
.vercel{font-family:Inter, system-ui, Arial, sans-serif;font-weight:600;color:#111;margin-left:6px}
.doc-link{color:#fff;background:rgba(255,255,255,0.08);padding:8px 12px;border-radius:8px;text-decoration:none;margin-left:16px}

.hero{height:80vh;display:flex;align-items:center;justify-content:center;position:relative;background-image:linear-gradient(rgba(10,10,10,0.45),rgba(250,245,240,0.1)), radial-gradient(circle at 20% 20%, rgba(200,150,120,0.08), transparent 20%), linear-gradient(180deg,#e9e2dc,#fbf7f5);background-size:cover;padding-top:72px}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(rgba(10,10,10,0.35),rgba(250,245,240,0.06));backdrop-filter:brightness(0.95);z-index:0}
.hero-content{position:absolute;top:35%;left:85%;transform:translate(-50%,-50%);text-align:center;color:#111;max-width:520px;padding:40px;z-index:1}
.hero h1{font-family:Inter, system-ui, Arial, sans-serif; font-weight:600; font-size:72px; margin:0 0 8px; white-space:nowrap; line-height:1; color:#111}
.hero-sub{font-family:Inter, system-ui, Arial, sans-serif; font-weight:600; font-size:16px; color:#111; margin-bottom:14px}
.cta{display:inline-block;padding:12px 22px;background:rgba(255,255,255,0.12);color:#666;border-radius:28px;text-decoration:none}

.features{max-width:1100px;margin:60px auto;padding:40px 20px;text-align:center}
.features-title{font-family:Inter, system-ui, Arial, sans-serif;font-size:36px;margin:0 0 10px;font-weight:600;color:#111}
.features-desc{font-family:Inter, system-ui, Arial, sans-serif;color:#666;margin-bottom:28px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,260px));gap:18px;justify-content:center;margin-bottom:80px}
.card{background:#fff;padding:18px;border-radius:10px;box-shadow:0 6px 18px rgba(18,12,10,0.06);text-align:left}
.card-icon{font-size:22px;background:linear-gradient(180deg,#fff,#fff);width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.card h3{margin:0 0 8px;text-align:center;font-family:Inter, system-ui, Arial, sans-serif;font-weight:600;color:#111}
.card p{margin:0;color:#666;font-size:14px;font-family:Inter, system-ui, Arial, sans-serif}

.chat-bubble{position:fixed;right:22px;bottom:22px;width:56px;height:56px;border-radius:999px;background:#ffe9c9;border:0;box-shadow:0 8px 24px rgba(0,0,0,0.15);font-size:20px}
.site-footer{text-align:center;padding:28px 0;color:#888;font-family:Inter, system-ui, Arial, sans-serif}

@media (max-width:640px){
  .hero h1{font-size:32px}
  .site-nav{padding:0 12px}
}

@media (max-width:900px){
  .hero-content{position:relative;left:0;transform:none;margin:0 auto;max-width:900px;padding:40px}
}

/* 在大屏下把第一个 cards 容器的最后一个卡片定位到中间列并居中 */
@media (min-width:900px){
  .features > .cards:first-of-type > .card:last-child{
    grid-column: 2 / 3;
    justify-self: center;
  }
}

/* 左侧复制文本样式 */
.hero-left-copy{position:absolute;left:4%;top:90%;color:#111;font-size:18px;background:transparent;padding:0;border-radius:0;z-index:1;max-width:360px;font-family:Inter, system-ui, Arial, sans-serif;font-weight:600}

@media (max-width:900px){
  .hero-left-copy{position:relative;left:0;top:0;margin:20px auto 0;max-width:90%;background:transparent;text-align:center}
}

@media (max-width:900px){
  .hero h1{white-space:normal}
}

/* WeChat modal styles */
.modal{display:none}
.modal.open{display:block}
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,0.4);z-index:999}
.modal-content{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;padding:20px;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,0.3);z-index:1000;color:#111;min-width:260px;text-align:center}
.modal-content h3{margin:0 0 8px;font-size:18px}
.modal-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:20px;cursor:pointer}
.btn{margin-top:12px;padding:8px 12px;border-radius:6px;border:0;background:#222;color:#fff;cursor:pointer}

@media (max-width:480px){
  .modal-content{left:50%;top:50%;transform:translate(-50%,-50%);width:90%;min-width:initial}
}
