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

:root{
  --bg:#0b0a12;
  --panel:#121123;
  --paper:#ffffff;
  --ink:#101828;
  --muted:rgba(16,24,40,.70);
  --line:rgba(16,24,40,.12);
  --brand:#6d28d9;      /* purple */
  --gold:#f5c542;       /* crown gold */
  --mint:#34d399;       /* accent */
  --shadow:0 14px 44px rgba(2,6,23,.16);
  --r:18px;
}

html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  background:#f7f8fc;
  color:var(--ink);
  line-height:1.75;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.wrap{
  width:100%;
  max-width:1160px;
  margin:0 auto;
  padding:0 16px;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(247,248,252,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(16,24,40,.08);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.3px;
}
.brand__mark{
  width:40px;
  height:40px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--brand),#1d4ed8);
  color:#0b0a12;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  box-shadow:0 16px 40px rgba(109,40,217,.22);
}
.brand__mark::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:20px;
  background:radial-gradient(circle at 30% 30%, rgba(245,197,66,.35), rgba(245,197,66,0) 60%);
  z-index:-1;
}
.brand__name{display:flex;flex-direction:column;line-height:1.05}
.brand__name strong{font-size:15px}
.brand__name small{font-size:12px;color:rgba(16,24,40,.64);font-weight:800}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.nav a{
  font-size:14px;
  font-weight:900;
  padding:8px 10px;
  border-radius:999px;
  color:rgba(16,24,40,.82);
  border:1px solid transparent;
  transition:background .18s ease, border-color .18s ease, transform .18s ease;
}
.nav a:hover{
  background:rgba(109,40,217,.08);
  border-color:rgba(109,40,217,.16);
}
.nav a.active{
  background:rgba(245,197,66,.18);
  border-color:rgba(245,197,66,.26);
  color:#5b3b00;
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background:var(--ink);
  color:rgba(255,255,255,.92);
  font-weight:900;
  font-size:13px;
  box-shadow:0 16px 40px rgba(16,24,40,.22);
}
.cta:hover{transform:translateY(-1px)}

/* Hero */
.hero{
  background:
    radial-gradient(900px 440px at 15% 0%, rgba(109,40,217,.22), rgba(109,40,217,0)),
    radial-gradient(900px 440px at 80% 0%, rgba(245,197,66,.22), rgba(245,197,66,0)),
    linear-gradient(180deg, #ffffff, #f7f8fc);
  padding:44px 0 24px;
}
.hero__grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:14px;
  align-items:stretch;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(16,24,40,.10);
  background:rgba(255,255,255,.78);
}
.kicker i{
  display:inline-flex;
  width:10px;height:10px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--gold),#fb7185);
}
.hero h1{
  font-size:34px;
  line-height:1.18;
  margin:12px 0 10px;
}
.hero p{
  font-size:14px;
  color:rgba(16,24,40,.72);
}
.hero__actions{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:14px;
  font-weight:900;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn--gold{
  background:var(--gold);
  color:#3a2a00;
  box-shadow:0 16px 40px rgba(245,197,66,.22);
}
.btn--gold:hover{transform:translateY(-1px);background:#f2b828}
.btn--ghost{
  background:#ffffff;
  border-color:rgba(16,24,40,.12);
  color:rgba(16,24,40,.88);
}
.btn--ghost:hover{transform:translateY(-1px);border-color:rgba(16,24,40,.22)}

/* Bento */
.bento{
  display:grid;
  grid-template-columns:repeat(12, minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}
.tile{
  background:#ffffff;
  border:1px solid rgba(16,24,40,.10);
  border-radius:calc(var(--r) + 6px);
  box-shadow:0 12px 28px rgba(2,6,23,.06);
  overflow:hidden;
  position:relative;
}
.tile__pad{padding:16px}
.tile h3{font-size:16px;margin-bottom:6px}
.tile p{font-size:14px;color:rgba(16,24,40,.72)}
.tile--img img{height:100%;width:100%;object-fit:cover}
.tile--img .tile__cap{
  position:absolute;
  left:12px;right:12px;bottom:12px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(16,24,40,.10);
  backdrop-filter:blur(8px);
}
.tile--img .tile__cap strong{display:block;font-size:13px}
.tile--img .tile__cap span{display:block;font-size:12px;color:rgba(16,24,40,.64);margin-top:2px}

.col-7{grid-column:span 7}
.col-5{grid-column:span 5}
.col-4{grid-column:span 4}
.col-8{grid-column:span 8}
.row-2{grid-row:span 2}

/* Sections */
.section{padding:34px 0}
.section--tint{
  background:linear-gradient(180deg, rgba(109,40,217,.06), rgba(245,197,66,.06));
  border-top:1px solid rgba(16,24,40,.06);
  border-bottom:1px solid rgba(16,24,40,.06);
}
.head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.head h2{font-size:22px}
.head p{font-size:14px;color:rgba(16,24,40,.70);max-width:720px}

/* Scroll-snap carousel */
.snap{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(260px, 1fr);
  gap:12px;
  overflow:auto;
  padding-bottom:8px;
  scroll-snap-type:x mandatory;
}
.snap::-webkit-scrollbar{height:10px}
.snap::-webkit-scrollbar-thumb{background:rgba(16,24,40,.14);border-radius:999px}
.snap-card{
  scroll-snap-align:start;
  background:#ffffff;
  border:1px solid rgba(16,24,40,.10);
  border-radius:calc(var(--r) + 6px);
  box-shadow:0 12px 28px rgba(2,6,23,.06);
  overflow:hidden;
}
.snap-card img{height:160px;width:100%;object-fit:cover}
.snap-card .pad{padding:14px}
.snap-card h3{font-size:16px;margin-bottom:6px}
.snap-card p{font-size:14px;color:rgba(16,24,40,.72)}
.tags{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}
.tag{
  font-size:12px;
  font-weight:900;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(16,24,40,.10);
  background:rgba(109,40,217,.08);
  color:#3b1a7a;
}
.tag--gold{background:rgba(245,197,66,.18);color:#5b3b00;border-color:rgba(245,197,66,.28)}

/* FAQ */
.faq{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
.faq details{
  background:#ffffff;
  border:1px solid rgba(16,24,40,.10);
  border-radius:calc(var(--r) + 6px);
  box-shadow:0 12px 28px rgba(2,6,23,.06);
  padding:12px 14px;
}
.faq summary{
  cursor:pointer;
  font-weight:900;
  color:rgba(16,24,40,.92);
}
.faq summary::-webkit-details-marker{display:none}
.faq p{margin-top:8px;font-size:14px;color:rgba(16,24,40,.72)}

/* Footer */
.footer{
  background:linear-gradient(180deg, #0b0a12, #101028);
  color:rgba(255,255,255,.86);
  margin-top:22px;
  border-top:1px solid rgba(255,255,255,.10);
}
.footer__grid{
  display:grid;
  grid-template-columns:minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr);
  gap:12px;
  padding:22px 0 16px;
}
.footer p{font-size:13px;color:rgba(255,255,255,.72)}
.footer h4{font-size:14px;margin-bottom:8px;color:rgba(255,255,255,.92)}
.footer a{display:block;font-size:13px;padding:4px 0;color:rgba(255,255,255,.78)}
.footer a:hover{color:#ffffff;text-decoration:underline}
.footer__bottom{
  border-top:1px solid rgba(255,255,255,.10);
  padding:10px 0 14px;
  font-size:12px;
  color:rgba(255,255,255,.60);
}

@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr}
  .bento{grid-template-columns:repeat(6, minmax(0,1fr))}
  .col-7{grid-column:span 6}
  .col-5{grid-column:span 6}
  .col-8{grid-column:span 6}
  .col-4{grid-column:span 3}
  .faq{grid-template-columns:1fr}
  .footer__grid{grid-template-columns:1fr}
  .cta{display:none}
}

@media (max-width: 640px){
  .hero h1{font-size:28px}
  .bento{grid-template-columns:repeat(2, minmax(0,1fr))}
  .col-4{grid-column:span 2}
  .row-2{grid-row:auto}
  .tile--img .tile__cap{left:10px;right:10px;bottom:10px}
}

