* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container { max-width: 640px; width: 100%; }
.qrcodeimg{
    width:100px!important;
    height:auto!important;
    }
.page { 
    display: none; 
    background: white; 
    border-radius: 24px; 
    padding: 50px 35px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.25); 
    text-align: center;
}
.page.active { display: block; }

h1 { 
    font-size: 2.6rem; 
    margin-bottom: 12px; 
    color: #333;
}
.tagline { 
    color: #666; 
    font-size: 1.25rem; 
    margin-bottom: 40px; 
}

#start-btn {
    display: block;
    width: 100%;
    padding: 20px;
    font-size: 1.45rem;
    font-weight: bold;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s;
}
#start-btn:hover {
    background: #ff3747;
    transform: translateY(-3px);
}

.progress {
    margin-bottom: 35px;
}
.progress-bar {
    height: 10px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
}
.fill {
    height: 100%;
    background: linear-gradient(to right, #ff6b6b, #feca57);
    width: 0%;
    transition: width 0.5s ease;
}

.question {
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #222;
    min-height: 80px;
}

.options button {
    display: block;
    width: 100%;
    padding: 18px 16px;
    margin: 14px 0;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 16px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s;
    text-align: left;
}
.options button:hover {
    border-color: #ff6b6b;
    background: #fff;
    transform: translateX(8px);
}
.options button.selected {
    background: #fff;
    border-color: #ff4757;
    font-weight: 600;
}

.result-card {
    margin: 30px 0;
}
.result-card img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 20px;
}
.result-card h3 {
    font-size: 2.2rem;
    margin: 15px 0 10px;
    color: #333;
}
.desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    padding: 0 20px;
}

.dimensions {
    margin: 40px 0 20px;
    text-align: left;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
}
.dimensions h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.4rem;
}
.dimension-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.dimension-item:last-child { border-bottom: none; }
.dimension-name {
    font-size: 1.05rem;
    color: #444;
    flex: 1;
}
.dimension-score {
    font-weight: bold;
    color: #ff4757;
    font-size: 1.2rem;
}

.actions button {
    padding: 16px 32px;
    margin: 0 10px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
}
#restart-btn { 
    background: #a4b0be; 
    color: white; 
}
#share-btn { 
    background: #ff4757; 
    color: white; 
}

.nav-btn {
    margin-top: 30px;
    padding: 12px 28px;
    background: #ddd;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}