/* 喵雾 MiaoWu — Static Site Styles */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  --bg: #f8fafc;
  --fg: #1e293b;
  --card: #ffffff;
  --card-fg: #1e293b;
  --primary: #3b82f6;
  --primary-fg: #ffffff;
  --primary-10: rgba(59,130,246,.1);
  --primary-15: rgba(59,130,246,.15);
  --primary-20: rgba(59,130,246,.2);
  --primary-30: rgba(59,130,246,.3);
  --primary-40: rgba(59,130,246,.4);
  --secondary: #f1f5f9;
  --secondary-40: rgba(241,245,249,.4);
  --muted: #f1f5f9;
  --muted-fg: #64748b;
  --border: #e2e8f0;
  --destructive: #ef4444;
  --chart-2-15: rgba(56,189,248,.15);
  --radius: 1rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
}

html{font-family:var(--font);scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--fg);line-height:1.6;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:none;background:none}

/* Layout */
.container{max-width:72rem;margin:0 auto;padding:0 1rem}
@media(min-width:640px){.container{padding:0 1.5rem}}

/* Header */
.header{position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(226,232,240,.6);background:rgba(248,250,252,.8);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:4rem}
.logo{display:flex;align-items:center;gap:.5rem}
.logo img{width:2.25rem;height:2.25rem;object-fit:contain}
.logo-text{font-size:1.125rem;font-weight:700;letter-spacing:-.01em}
.logo-sub{display:none;font-size:.875rem;font-weight:500;color:var(--muted-fg)}
@media(min-width:640px){.logo-sub{display:inline}}

.nav{display:none;align-items:center;gap:2rem}
@media(min-width:768px){.nav{display:flex}}
.nav a{font-size:.875rem;font-weight:500;color:var(--muted-fg);transition:color .2s}
.nav a:hover{color:var(--fg)}

.btn{display:inline-flex;align-items:center;gap:.5rem;border-radius:9999px;font-weight:600;transition:all .2s;cursor:pointer}
.btn-primary{background:var(--primary);color:var(--primary-fg);padding:.625rem 1.75rem;font-size:.875rem}
.btn-primary:hover{opacity:.9;transform:translateY(-1px);box-shadow:0 4px 12px rgba(59,130,246,.3)}
.btn-outline{border:1px solid var(--border);background:var(--card);color:var(--fg);padding:.625rem 1.75rem;font-size:.875rem}
.btn-outline:hover{background:var(--muted)}
.btn-lg{padding:.75rem 1.75rem;font-size:1rem}

.header-cta{display:none}
@media(min-width:768px){.header-cta{display:block}}

.menu-toggle{display:inline-flex;align-items:center;justify-content:center;padding:.5rem;border-radius:.375rem}
@media(min-width:768px){.menu-toggle{display:none}}
.menu-toggle svg{width:1.5rem;height:1.5rem}

.mobile-nav{display:none;border-top:1px solid rgba(226,232,240,.6);background:var(--bg);padding:1rem}
.mobile-nav.open{display:flex;flex-direction:column;gap:.25rem}
.mobile-nav a{display:block;padding:.75rem;border-radius:.5rem;font-size:1rem;font-weight:500;transition:background .2s}
.mobile-nav a:hover{background:var(--muted)}

/* Hero */
.hero{position:relative;overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:-1;pointer-events:none}
.hero-bg::before{content:"";position:absolute;top:-6rem;left:50%;transform:translateX(-50%);width:18rem;height:18rem;border-radius:50%;background:var(--primary-15);filter:blur(48px)}
.hero-bg::after{content:"";position:absolute;top:10rem;right:0;width:16rem;height:16rem;border-radius:50%;background:var(--chart-2-15);filter:blur(48px)}

.hero-grid{display:grid;gap:3rem;padding:4rem 0}
@media(min-width:1024px){.hero-grid{grid-template-columns:1fr 1fr;align-items:center;padding:6rem 0}}

.hero-content{display:flex;flex-direction:column;align-items:flex-start;gap:1.5rem}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;border-radius:9999px;border:1px solid var(--primary-30);background:var(--primary-10);padding:.375rem 1rem;font-size:.875rem;font-weight:500;color:var(--primary)}
.hero-badge svg{width:1rem;height:1rem}

h1{font-size:2.25rem;font-weight:700;line-height:1.15;letter-spacing:-.02em}
@media(min-width:640px){h1{font-size:3rem}}
@media(min-width:768px){h1{font-size:3.75rem}}
h1 .highlight{color:var(--primary)}

.hero-desc{max-width:28rem;font-size:1.125rem;line-height:1.7;color:var(--muted-fg)}
.hero-actions{display:flex;flex-direction:column;gap:1rem}
@media(min-width:640px){.hero-actions{flex-direction:row;align-items:center}}

.hero-stats{display:flex;align-items:center;gap:1.5rem;padding-top:.5rem;font-size:.875rem;color:var(--muted-fg)}
.hero-stats strong{display:block;font-size:1.5rem;font-weight:700;color:var(--fg)}
.hero-stats .divider{width:1px;height:2rem;background:var(--border)}

/* Phone Mockup */
.phone-wrap{position:relative;max-width:20rem;margin:0 auto}
.phone{position:relative;aspect-ratio:9/19;width:17.5rem;margin:0 auto;border-radius:2.5rem;border:10px solid rgba(30,41,59,.9);background:var(--card);box-shadow:0 25px 50px -12px rgba(0,0,0,.15)}
.phone-notch{position:absolute;top:0;left:50%;transform:translateX(-50%);width:7rem;height:1.5rem;border-radius:0 0 1rem 1rem;background:rgba(30,41,59,.9);z-index:2}
.phone-screen{display:flex;flex-direction:column;gap:.75rem;height:100%;overflow:hidden;border-radius:1.8rem;background:linear-gradient(to bottom,var(--primary-10),var(--bg));padding:1rem;padding-top:2rem}
.phone-header{display:flex;align-items:center;gap:.5rem}
.phone-header img{width:1.75rem;height:1.75rem;object-fit:contain}
.phone-header span{font-size:.875rem;font-weight:600}
.phone-bubble{border-radius:1rem;background:var(--primary);color:var(--primary-fg);padding:.75rem 1rem;font-size:.875rem;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.phone-preview{border-radius:1rem;background:var(--card);padding:.75rem;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.phone-preview img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:.5rem}
.phone-preview-lines{margin-top:.5rem}
.phone-preview-lines span{display:block;height:.5rem;border-radius:9999px;background:var(--muted)}
.phone-preview-lines span:first-child{width:75%;margin-bottom:.375rem}
.phone-preview-lines span:last-child{width:50%}
.phone-input{margin-top:auto;display:flex;align-items:center;gap:.5rem;border-radius:9999px;background:var(--card);padding:.75rem 1rem;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.phone-input span{font-size:.875rem;color:var(--muted-fg)}
.phone-input-btn{margin-left:auto;display:flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:50%;background:var(--primary);color:var(--primary-fg)}
.phone-input-btn svg{width:1rem;height:1rem}

.scan-badge{display:none;position:absolute;bottom:-1rem;left:-.5rem;align-items:center;gap:.5rem;border-radius:1rem;border:1px solid var(--border);background:var(--card);padding:.75rem 1rem;box-shadow:0 10px 15px -3px rgba(0,0,0,.1)}
@media(min-width:640px){.scan-badge{display:flex}}
.scan-badge svg{width:1.25rem;height:1.25rem;color:var(--primary)}
.scan-badge span{font-size:.875rem;font-weight:500}

/* Features */
.features{padding:5rem 0}
.section-header{max-width:36rem;margin:0 auto;text-align:center}
.section-header h2{font-size:1.875rem;font-weight:700;letter-spacing:-.01em}
@media(min-width:640px){.section-header h2{font-size:2.25rem}}
.section-header p{margin-top:1rem;font-size:1.125rem;color:var(--muted-fg)}

.features-grid{display:grid;gap:1.25rem;margin-top:3.5rem}
@media(min-width:640px){.features-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.features-grid{grid-template-columns:repeat(3,1fr)}}

.feature-card{border-radius:1rem;border:1px solid var(--border);background:var(--card);padding:1.5rem;transition:all .25s}
.feature-card:hover{border-color:var(--primary-40);box-shadow:0 10px 15px -3px rgba(0,0,0,.08)}
.feature-icon{display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:.75rem;background:var(--primary-10);color:var(--primary);transition:all .25s}
.feature-card:hover .feature-icon{background:var(--primary);color:var(--primary-fg)}
.feature-icon svg{width:1.5rem;height:1.5rem}
.feature-card h3{margin-top:1.25rem;font-size:1.125rem;font-weight:600}
.feature-card p{margin-top:.5rem;line-height:1.7;color:var(--muted-fg)}

/* Showcase */
.showcase{background:var(--secondary-40);padding:5rem 0}
.showcase-grid{margin-top:3.5rem;columns:2;column-gap:1rem}
@media(min-width:768px){.showcase-grid{columns:3}}
.showcase-grid>*{break-inside:avoid;margin-bottom:1rem}

.work-card{overflow:hidden;border-radius:1rem;border:1px solid var(--border);background:var(--card);box-shadow:0 1px 3px rgba(0,0,0,.05);transition:box-shadow .25s}
.work-card:hover{box-shadow:0 10px 15px -3px rgba(0,0,0,.1)}
.work-card-img{overflow:hidden}
.work-card-img img{width:100%;object-fit:cover;transition:transform .3s}
.work-card:hover .work-card-img img{transform:scale(1.05)}
.work-card-body{padding:1rem}
.work-card-body h3{font-weight:600;line-height:1.3}
.work-card-meta{display:flex;align-items:center;justify-content:space-between;margin-top:.75rem;font-size:.875rem;color:var(--muted-fg)}
.work-card-likes{display:inline-flex;align-items:center;gap:.25rem}
.work-card-likes svg{width:1rem;height:1rem;color:var(--destructive)}

/* How It Works */
.how{padding:5rem 0}
.steps-grid{display:grid;gap:1.5rem;margin-top:3.5rem}
@media(min-width:768px){.steps-grid{grid-template-columns:repeat(3,1fr)}}
.step-card{position:relative;border-radius:1rem;border:1px solid var(--border);background:var(--card);padding:2rem}
.step-num{font-size:3rem;font-weight:700;color:var(--primary-20)}
.step-card h3{margin-top:1rem;font-size:1.25rem;font-weight:600}
.step-card p{margin-top:.5rem;line-height:1.7;color:var(--muted-fg)}

/* Download */
.download{padding:5rem 0}
.download-box{overflow:hidden;border-radius:1.5rem;border:1px solid var(--primary-20);background:linear-gradient(135deg,var(--primary-10),var(--card),var(--chart-2-15));padding:2rem}
@media(min-width:768px){.download-box{padding:3.5rem}}
.download-grid{display:grid;gap:2.5rem;align-items:center}
@media(min-width:1024px){.download-grid{grid-template-columns:1fr 1fr}}
.download-content{display:flex;flex-direction:column;align-items:flex-start;gap:1.5rem}
.download-content h2{font-size:1.875rem;font-weight:700;letter-spacing:-.01em}
@media(min-width:640px){.download-content h2{font-size:2.25rem}}
.download-content>p{max-width:28rem;font-size:1.125rem;line-height:1.7;color:var(--muted-fg)}
.download-badges{display:flex;flex-wrap:wrap;gap:.75rem}
.download-badge{display:inline-flex;align-items:center;gap:.5rem;border-radius:.75rem;border:1px solid var(--border);background:var(--card);padding:.625rem 1rem;font-size:.875rem;font-weight:500}
.download-badge svg{width:1.25rem;height:1.25rem}

.qr-wrap{display:flex;justify-content:center}
@media(min-width:1024px){.qr-wrap{justify-content:flex-end}}
.qr-card{display:flex;flex-direction:column;align-items:center;gap:1rem;border-radius:1.5rem;border:1px solid var(--border);background:var(--card);padding:1.5rem;box-shadow:0 20px 25px -5px rgba(0,0,0,.1)}
.qr-card img{width:13rem;height:13rem;object-fit:cover;border-radius:1rem;border:1px solid var(--border)}
.qr-card p{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:500;color:var(--muted-fg)}
.qr-card p svg{width:1rem;height:1rem;color:var(--primary)}

/* Footer */
.footer{border-top:1px solid var(--border);background:rgba(241,245,249,.3)}
.footer-inner{padding:3.5rem 0}
.footer-grid{display:grid;gap:2.5rem}
@media(min-width:768px){.footer-grid{grid-template-columns:1.5fr repeat(3,1fr)}}
.footer-brand p{margin-top:1rem;max-width:18rem;line-height:1.7;color:var(--muted-fg)}
.footer-group h4{font-size:.875rem;font-weight:600}
.footer-group ul{list-style:none;margin-top:1rem;display:flex;flex-direction:column;gap:.75rem}
.footer-group a{font-size:.875rem;color:var(--muted-fg);transition:color .2s}
.footer-group a:hover{color:var(--fg)}
.footer-bottom{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid var(--border);padding-top:1.5rem;margin-top:3rem;font-size:.875rem;color:var(--muted-fg)}
@media(min-width:640px){.footer-bottom{flex-direction:row}}
