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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0abab5 0%, #81d8d0 50%, #b4e7e3 100%);
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    backdrop-filter: blur(100px);
}

body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    backdrop-filter: blur(100px);
}

.container {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    padding: 40px 50px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(10, 186, 181, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 1;
    margin: 40px auto;
}

h1 {
    text-align: center;
    color: #0a5f5c;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.password-display {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

#password {
    flex: 1;
    padding: 18px 20px;
    font-size: 18px;
    border: 2px solid rgba(10, 186, 181, 0.2);
    border-radius: 16px;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    color: #0a5f5c;
    font-weight: 500;
    transition: all 0.3s ease;
}

#password:focus {
    outline: none;
    border-color: #0abab5;
    box-shadow: 0 0 0 4px rgba(10, 186, 181, 0.1);
}

#copy {
    padding: 18px 24px;
    font-size: 22px;
    border: none;
    background: linear-gradient(135deg, #0abab5 0%, #0d9d99 100%);
    color: white;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 186, 181, 0.3);
}

#copy:hover {
    box-shadow: 0 6px 20px rgba(10, 186, 181, 0.4);
}

#copy:active {
    transform: translateY(0);
}

/* Strength Indicator */
.strength-indicator {
    margin-bottom: 30px;
}

.strength-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.strength-fill.weak {
    width: 33%;
    background: linear-gradient(90deg, #ff4444, #ff6666);
}

.strength-fill.medium {
    width: 66%;
    background: linear-gradient(90deg, #ffaa00, #ffcc00);
}

.strength-fill.strong {
    width: 100%;
    background: linear-gradient(90deg, #00cc66, #00ff88);
}

.strength-text {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #0a5f5c;
}

.strength-text.weak {
    color: #ff4444;
}

.strength-text.medium {
    color: #ffaa00;
}

.strength-text.strong {
    color: #00cc66;
}

.options {
    margin-bottom: 30px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.option {
    margin-bottom: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.options-grid .option {
    margin-bottom: 0;
}

.option:hover {
    background: rgba(255, 255, 255, 0.5);
}

.option label {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #0a5f5c;
    cursor: pointer;
    font-weight: 500;
}

.option input[type="checkbox"] {
    margin-right: 12px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #0abab5;
}

.option input[type="range"] {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    accent-color: #0abab5;
    height: 6px;
}

#lengthValue {
    margin-left: auto;
    font-weight: 700;
    color: #0abab5;
    font-size: 18px;
    background: rgba(10, 186, 181, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
}

#generate {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, #0abab5 0%, #0d9d99 100%);
    color: white;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(10, 186, 181, 0.3);
    letter-spacing: 0.5px;
}

#generate:hover {
    box-shadow: 0 12px 35px rgba(10, 186, 181, 0.4);
    background: linear-gradient(135deg, #0bc5c0 0%, #0ea9a5 100%);
}

#generate:active {
    transform: none;
}

/* SEO Content */
.seo-content {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
}

.seo-content h2 {
    color: #0a5f5c;
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.seo-content .seo-text {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-top: 30px;
}

.seo-content .seo-text h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
}

.seo-content .seo-text h3 {
    color: #0a5f5c;
    font-size: 19px;
    margin: 25px 0 12px;
    font-weight: 600;
}

.seo-content .seo-text p {
    color: #0a5f5c;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 15px;
}

.container .seo-text {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 30px;
}

.container .seo-text h2 {
    color: #0a5f5c;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.container .seo-text h3 {
    color: #0a5f5c;
    font-size: 18px;
    margin: 20px 0 10px;
    font-weight: 600;
}

.container .seo-text p {
    color: #0a5f5c;
    line-height: 1.6;
    font-size: 14px;
}

.container .seo-text ul {
    margin: 15px 0;
    padding-left: 25px;
}

.container .seo-text li {
    margin: 8px 0;
    line-height: 1.6;
}

/* FAQ */
.faq-item {
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    color: #0a5f5c;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.3);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: #0abab5;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 18px;
    color: #0a5f5c;
    line-height: 1.7;
    font-size: 15px;
}
