* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1a1a1a;
    min-height: 100vh;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: #e0e0e0;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #c600ff;
}

header p {
    font-size: 1.1rem;
    color: #b0b0b0;
    font-weight: 400;
    margin-bottom: 20px;
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.nav-link {
    padding: 10px 20px;
    text-decoration: none;
    color: #b0b0b0;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #c600ff;
    background: #2a2a2a;
}

.nav-link.active {
    color: #c600ff;
    background: #2a2a2a;
    border-color: #c600ff;
}

.generator-card {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #404040;
    margin-bottom: 30px;
}

.type-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    background: #1a1a1a;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid #404040;
}

.type-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #b0b0b0;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.type-btn.active {
    background: #c600ff;
    color: white;
}

.options-panel {
    display: none;
    margin-bottom: 30px;
}

.options-panel.active {
    display: block;
}

.word-count-info {
    background: #1a1a1a;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #404040;
    color: #b0b0b0;
    font-size: 14px;
}

.option-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.option-group label {
    min-width: 200px;
    font-weight: 500;
    color: #e0e0e0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-label {
    cursor: help;
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #404040;
    color: #b0b0b0;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    cursor: help;
}

.option-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c600ff;
}

.option-group input[type="range"] {
    flex: 1;
    min-width: 150px;
    height: 4px;
    border-radius: 2px;
    background: #404040;
    outline: none;
    -webkit-appearance: none;
}

.option-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c600ff;
    cursor: pointer;
    border: 2px solid #2a2a2a;
}

.option-group input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c600ff;
    cursor: pointer;
    border: none;
}

.value-display {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: #c600ff;
    font-size: 14px;
}

.option-group select {
    padding: 8px 12px;
    border: 1px solid #404040;
    border-radius: 6px;
    background: #1a1a1a;
    font-size: 14px;
    color: #e0e0e0;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.option-group select:focus {
    outline: none;
    border-color: #c600ff;
}

.result-section {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #404040;
    margin-bottom: 30px;
}

.result-display {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    word-break: break-all;
    line-height: 1.4;
    margin-bottom: 15px;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 6px;
    border: 1px solid #404040;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.result-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.generate-btn, .copy-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 120px;
}

.generate-btn {
    background: #c600ff;
    color: white;
}

.generate-btn:hover {
    background: #a500d9;
}

.generate-btn:disabled {
    background: #404040;
    cursor: not-allowed;
}

.copy-btn {
    background: #28a745;
    color: white;
}

.copy-btn:hover {
    background: #218838;
}

.entropy-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.entropy-display {
    font-size: 14px;
    color: #b0b0b0;
    font-weight: 500;
}

.entropy-display span:last-child {
    color: #c600ff;
    font-weight: 600;
}

.strength-meter {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #404040;
    overflow: hidden;
    position: relative;
    min-width: 100px;
}

.strength-meter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.strength-meter.very-weak::before {
    width: 10%;
    background: #dc3545;
}

.strength-meter.weak::before {
    width: 25%;
    background: #fd7e14;
}

.strength-meter.fair::before {
    width: 50%;
    background: #ffc107;
}

.strength-meter.good::before {
    width: 75%;
    background: #17a2b8;
}

.strength-meter.strong::before {
    width: 90%;
    background: #28a745;
}

.strength-meter.very-strong::before {
    width: 95%;
    background: #20c997;
}

.strength-meter.extremely-strong::before {
    width: 100%;
    background: #c600ff;
}

.settings-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.settings-btn {
    padding: 10px 20px;
    border: 1px solid #404040;
    border-radius: 6px;
    background: #1a1a1a;
    color: #b0b0b0;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-btn:hover {
    background: #2a2a2a;
    border-color: #c600ff;
    color: #c600ff;
}

.settings-btn.secondary {
    color: #b0b0b0;
}

.settings-btn.secondary:hover {
    background: #2a2a2a;
    border-color: #b0b0b0;
    color: #e0e0e0;
}

.advanced-formats-section {
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #404040;
    margin-bottom: 30px;
    overflow: hidden;
}

.format-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2a2a2a;
    border-bottom: 1px solid #404040;
    transition: background-color 0.2s ease;
}

.format-header:hover {
    background: #1a1a1a;
}

.format-header h3 {
    margin: 0;
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 600;
}

.toggle-icon {
    color: #b0b0b0;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.format-header.expanded .toggle-icon {
    transform: rotate(180deg);
}

.format-content {
    padding: 20px;
}

.format-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.format-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #2a2a2a;
    border-radius: 6px;
    border: 1px solid #404040;
}

.format-label {
    min-width: 150px;
    font-size: 12px;
    color: #b0b0b0;
    text-transform: uppercase;
    font-weight: 600;
}

.format-result {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #e0e0e0;
    word-break: break-all;
    padding: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    border: 1px solid #404040;
    min-height: 20px;
    line-height: 1.4;
}

.copy-format-btn {
    padding: 6px 12px;
    border: 1px solid #404040;
    border-radius: 4px;
    background: #1a1a1a;
    color: #b0b0b0;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-format-btn:hover {
    background: #2a2a2a;
    border-color: #c600ff;
    color: #c600ff;
}

.info-card {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #404040;
}

.info-card h3 {
    color: #e0e0e0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 8px 0;
    color: #b0b0b0;
    font-size: 14px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #c600ff;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

/* Benefits Page Styles */
.benefits-card {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #404040;
    margin-bottom: 30px;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #c600ff;
    border: 1px solid #c600ff;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: #c600ff;
    color: white;
}

.benefit-section {
    margin-bottom: 40px;
}

.benefit-section h2 {
    color: #e0e0e0;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefit-section h3 {
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.benefit-section p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.benefit-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #404040;
}

.comparison-table {
    margin: 20px 0;
}

.comparison-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.comparison-item {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #404040;
    text-align: center;
}

.comparison-item h4 {
    margin-bottom: 10px;
    color: #e0e0e0;
    font-weight: 600;
}

.comparison-item p {
    font-family: 'Courier New', monospace;
    background: #2a2a2a;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    border: 1px solid #404040;
}

.entropy-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.entropy-badge.weak {
    background: #ffc107;
    color: #333;
}

.entropy-badge.strong {
    background: #28a745;
    color: white;
}

.feature-list, .expert-list, .best-practices {
    list-style: none;
    padding-left: 0;
}

.feature-list li, .expert-list li, .best-practices li {
    padding: 8px 0;
    color: #b0b0b0;
    border-bottom: 1px solid #404040;
}

.feature-list li:last-child, .expert-list li:last-child, .best-practices li:last-child {
    border-bottom: none;
}

.myth-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 6px;
}

.myth-item h3 {
    color: #ffc107;
    margin-bottom: 8px;
}

.myth-item p {
    color: #b0b0b0;
    margin-bottom: 0;
}

.cta-section {
    text-align: center;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #404040;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #c600ff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.2s ease;
}

.cta-btn:hover {
    background: #a500d9;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .generator-card, .benefits-card {
        padding: 20px;
    }
    
    .option-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .option-group label {
        min-width: auto;
    }
    
    .option-group input[type="range"] {
        width: 100%;
    }
    
    .result-controls {
        flex-direction: column;
    }
    
    .generate-btn, .copy-btn {
        width: 100%;
    }
    
    .result-display {
        font-size: 16px;
        padding: 12px;
    }
    
    .entropy-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .settings-section {
        flex-direction: column;
    }
    
    .comparison-row {
        flex-direction: column;
    }
    
    .top-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .format-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .format-label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .generator-card, .benefits-card {
        padding: 15px;
    }
    
    .type-selector {
        flex-direction: column;
    }
    
    .type-btn {
        text-align: center;
    }
} 