* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
}

.card {
    width: 420px;
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

h1 {
    text-align: center;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    margin-bottom: 20px;
}

input {
    flex: 1;
    padding: 12px;
    border-radius: 10px 0 0 10px;
    border: none;
    outline: none;
    font-size: 14px;
}

button {
    padding: 12px;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    background: #6366f1;
    color: white;
    font-size: 16px;
}

.strength-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.strength-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    overflow: hidden;
}

#strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 5px;
    transition: width 0.4s ease, background 0.4s ease;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stat-box {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 12px;
    width: 48%;
    text-align: center;
}

.stat-box p {
    font-size: 12px;
    opacity: 0.7;
}

.suggestions h4 {
    margin-bottom: 10px;
}

ul {
    font-size: 13px;
    opacity: 0.8;
}

ul li {
    margin-bottom: 5px;
}
