/* =========================
   Base
========================= */
:root{
  --bg1:#eef5ff;
  --bg2:#f8f2ff;
  --bg3:#f2fbff;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:rgba(15,23,42,.10);
  --shadow: 0 14px 35px rgba(15, 23, 42, .08);
  --shadow2: 0 10px 25px rgba(15, 23, 42, .06);
  --radius: 18px;
  --radius2: 22px;
  --max: 1180px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(900px 600px at 18% 78%, rgba(250, 182, 202, .28), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(147, 197, 253, .35), transparent 60%),
    radial-gradient(900px 600px at 75% 80%, rgba(186, 230, 253, .32), transparent 60%),
    linear-gradient(120deg, var(--bg1), var(--bg2), var(--bg3));
  min-height:100vh;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* =========================
   Header (图7风格)
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255,255,255,.45);
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.header-inner{
  display:flex;
  align-items:center;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 260px;
}

.brand img{
  width:44px;height:44px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow2);
  border: 1px solid rgba(15,23,42,.08);
}

.brand .name{
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 14px;
  line-height: 1.15;
}
.brand .tagline{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* Nav capsule */
.nav-wrap{
  flex:1;
  display:flex;
  justify-content:center;
}

.nav{
  display:flex;
  gap: 6px;
  align-items:center;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow2);
}

.nav a{
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(15,23,42,.85);
  white-space: nowrap;
}

.nav a.active{
  background: rgba(147,197,253,.35);
  border: 1px solid rgba(99,102,241,.18);
}

.header-cta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width: 180px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(99,102,241,.28);
  background: rgba(147,197,253,.35);
  box-shadow: var(--shadow2);
}

.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}

@media (max-width: 980px){
  .brand{min-width: unset}
  .nav-wrap{justify-content:flex-start}
  .header-inner{
    flex-wrap: wrap;
  }
  .header-cta{
    width: 100%;
    justify-content: flex-start;
  }
}

/* =========================
   Sections & Cards
========================= */
.page{
  padding: 26px 0 70px;
}

.hero-grid{
  display:grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Responsive */
  align-items: stretch;
}

.card{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}

.card-inner{
  padding: 22px;
}

.card-title{
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 10px;
}

.small{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.h1{
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -.3px;
}

.lead{
  margin: 0 0 14px;
  color: rgba(15,23,42,.72);
  font-size: 14px;
  line-height: 1.6;
}

/* Hero image card */
.hero-card{
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 26px;
}
.hero-bg{
  position:absolute; inset:0;
  background: url("../..//image/hero.jpg") center/cover no-repeat; /* fallback */
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(0deg, rgba(255,255,255,.78), rgba(255,255,255,.42));
}
.hero-content{
  position:relative;
  padding: 26px;
}

.pills{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(15,23,42,.10);
  font-size: 12px;
  font-weight: 800;
  color: rgba(15,23,42,.80);
}
.dot{
  width:10px;height:10px;border-radius:50%;
  background: rgba(16,185,129,.70);
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}

.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.action-chip{
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(15,23,42,.10);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow2);
}

.note{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(15,23,42,.55);
}

/* Grids */
.grid-3{
  display:grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Responsive */
}

.grid-2{
  display:grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Responsive */
}

.section{
  margin-top: 26px;
}

.section h2{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
}
.section .sub{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

/* Tags */
.tags{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.tag{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.72);
  font-size: 12px;
  color: rgba(15,23,42,.75);
  font-weight: 700;
}

/* Divider */
.divider{
  height:1px;
  width:100%;
  background: rgba(15,23,42,.10);
  margin: 18px 0;
}

/* Footer */
.footer{
  margin-top: 28px;
  padding: 18px 0 0;
  color: rgba(15,23,42,.55);
  font-size: 12px;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(15,23,42,.10);
}
.footer a{color: rgba(15,23,42,.65); font-weight: 800;}
.footer a:hover{color: rgba(15,23,42,.85);}

/* =========================
   Product Gallery
========================= */
.gallery{
  display:grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Responsive */
}
.gallery-card{
  overflow:hidden;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
}
.gallery-card img{
  width:100%;
  height: 140px;
  object-fit: cover;
  display:block;
}
.gallery-card .cap{
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(15,23,42,.78);
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 24px;
  z-index: 100;
}
.lightbox.open{display:flex}
.lightbox img{
  max-width: min(980px, 92vw);
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(0,0,0,.35);
}
.lightbox .hint{
  position: fixed;
  bottom: 18px;
  color: rgba(255,255,255,.9);
  font-size: 12px;
}

/* =========================
   FAQ Accordion
========================= */
.faq{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
  overflow:hidden;
}

.faq-q{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-weight: 900;
  text-align:left;
  font-size: 13px;
  color: rgba(15,23,42,.86);
}

.faq-icon{
  width: 26px;height: 26px;
  border-radius: 10px;
  background: rgba(15,23,42,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  flex: 0 0 auto;
}

.faq-a{
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  color: rgba(15,23,42,.70);
  font-size: 13px;
  line-height: 1.6;
}
.faq-a p{margin: 10px 0 14px}
.faq-item.open .faq-a{
  max-height: 240px;
}

/* =========================
   Forms (Contact)
========================= */
.form{
  display:grid;
  gap: 12px;
}

.form-row{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Responsive */
  gap: 12px;
}

.input{
  width:100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.86);
  outline: none;
  font-size: 13px;
}

textarea.input{min-height: 120px; resize: vertical}

.form .submit{
  width: fit-content;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.18);
  background: rgba(255,255,255,.86);
  font-weight: 900;
  cursor: pointer;
}
.form .submit:hover{transform: translateY(-1px)}
