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


:root{

--bg:#faf9f6;
--text:#1d1d1f;
--gray:#6e6e73;
--card:#ffffff;
--accent:#ff9f43;

}


body{

background:var(--bg);

color:var(--text);

font-family:

"PingFang SC",
"Microsoft YaHei",
Arial,
sans-serif;

}


.container{

max-width:1200px;

margin:auto;

padding:0 25px;

}



/* 固定导航 */

.header{

position:sticky;

top:0;

z-index:100;

height:80px;

display:flex;

align-items:center;

justify-content:space-between;

background:rgba(250,249,246,.85);

backdrop-filter:blur(12px);

}



.logo{

font-size:28px;

font-weight:800;

cursor:pointer;

}



.logo span{

color:#ffb703;

}



.nav{

display:flex;

gap:30px;

}



.nav a{

text-decoration:none;

color:#555;

font-size:15px;

}



.nav a:hover{

color:#000;

}



/* 首页 */

.hero{

padding:100px 20px;

text-align:center;

}


.hero h1{

font-size:

clamp(42px,6vw,70px);

letter-spacing:-3px;

}


.hero span{

color:var(--accent);

}


.hero p{

margin-top:25px;

font-size:20px;

color:var(--gray);

}


.btn{

display:inline-block;

margin-top:40px;

padding:15px 40px;

background:#111;

border-radius:40px;

color:white;

text-decoration:none;

}



/* 卡片 */


.grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

}



.card{

background:white;

padding:35px;

border-radius:30px;

text-decoration:none;

color:inherit;

min-height:230px;

box-shadow:

0 10px 30px rgba(0,0,0,.05);

transition:.3s;

}



.card:hover{

transform:translateY(-8px);

}



.icon{

font-size:42px;

margin-bottom:20px;

}



.card h2{

font-size:22px;

margin-bottom:15px;

}


.card p{

color:var(--gray);

line-height:1.7;

}



/* 二级页面 */

.page{

max-width:850px;

margin:70px auto;

}



.page-card{

background:white;

border-radius:35px;

padding:45px;

box-shadow:

0 10px 40px rgba(0,0,0,.06);

}



.page-title{

font-size:40px;

margin-bottom:20px;

}


.desc{

color:var(--gray);

line-height:1.8;

}



.question{

margin-top:30px;

font-size:20px;

}


.option{

display:block;

margin-top:15px;

padding:15px;

border-radius:20px;

background:#f5f5f5;

cursor:pointer;

}



.option:hover{

background:#ffe8d1;

}



.result{

margin-top:30px;

font-size:28px;

color:#ff9f43;

font-weight:bold;

}



button{

border:none;

background:#111;

color:white;

padding:14px 35px;

border-radius:30px;

cursor:pointer;

}


footer{

text-align:center;

padding:60px;

color:#999;

}



@media(max-width:900px){

.grid{

grid-template-columns:repeat(2,1fr);

}

}


@media(max-width:600px){

.header{

flex-direction:column;

height:auto;

padding:20px;

gap:20px;

}


.grid{

grid-template-columns:1fr;

}


}