/* Beetle Dynamics SEO Audit Tool Styles - Dark Theme */
.beetle-seo-audit-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.beetle-audit-card {
    background: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    border: 1px solid #333;
}

.beetle-audit-header {
    background: linear-gradient(135deg, #8C1EE6 0%, #6a0dad 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.beetle-audit-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.beetle-audit-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: white;
}

.beetle-audit-form {
    padding: 40px;
    background: #2d2d2d;
}

.beetle-form-group {
    margin-bottom: 25px;
}

.beetle-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
}

.beetle-url-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.beetle-url-input input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #444;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #1a1a1a;
    color: #ffffff;
}

.beetle-url-input input:focus {
    outline: none;
    border-color: #8C1EE6;
    background: #1a1a1a;
    color: #ffffff;
}

.beetle-url-input input::placeholder {
    color: #888;
}

.beetle-btn {
    padding: 15px 30px;
    background: #8C1EE6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.beetle-btn:hover {
    background: #7a1acf;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(140, 30, 230, 0.3);
}

.beetle-btn:disabled {
    background: #444;
    cursor: not-allowed;
    transform: none;
}

.beetle-free-notice {
    text-align: center;
    color: #00ff88;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

.beetle-audit-results {
    display: none;
    padding: 40px;
    background: #1a1a1a;
}

.beetle-score-card {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #8C1EE6 0%, #6a0dad 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
}

.beetle-score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 4px solid rgba(255,255,255,0.3);
}

.beetle-score-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

.beetle-factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.beetle-factor-card {
    background: #2d2d2d;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.beetle-factor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(140, 30, 230, 0.2);
    border-color: #8C1EE6;
}

.beetle-factor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.beetle-factor-title {
    font-weight: 600;
    color: #ffffff;
    flex: 1;
}

.beetle-factor-score {
    font-weight: bold;
    font-size: 1.1rem;
}

.beetle-score-excellent { color: #00ff88; }
.beetle-score-good { color: #8C1EE6; }
.beetle-score-fair { color: #ffaa00; }
.beetle-score-poor { color: #ff4444; }

.beetle-factor-details {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.beetle-factor-recommendation {
    margin-top: 10px;
    padding: 10px;
    background: #1a1a1a;
    border-left: 4px solid #8C1EE6;
    font-size: 0.85rem;
    border-radius: 0 4px 4px 0;
    color: #ffffff;
}

.beetle-loading-animation {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background: #1a1a1a;
    color: #ffffff;
}

.beetle-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #444;
    border-top: 5px solid #8C1EE6;
    border-radius: 50%;
    animation: beetle-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes beetle-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.beetle-loading-steps {
    max-width: 400px;
    margin: 30px auto 0;
    text-align: left;
}

.beetle-loading-step {
    padding: 10px 0;
    border-bottom: 1px solid #333;
    color: #cccccc;
    font-size: 0.9rem;
}

.beetle-contact-form {
    background: #2d2d2d;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    display: none;
    border: 1px solid #444;
    color: #ffffff;
}

.beetle-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.beetle-contact-form input {
    background: #1a1a1a;
    border: 1px solid #444;
    color: #ffffff;
    padding: 12px;
    border-radius: 5px;
}

.beetle-contact-form input:focus {
    border-color: #8C1EE6;
    outline: none;
}

.beetle-contact-form input::placeholder {
    color: #888;
}

.beetle-contact-form label {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

@media (max-width: 768px) {
    .beetle-form-row {
        grid-template-columns: 1fr;
    }
    
    .beetle-factors-grid {
        grid-template-columns: 1fr;
    }
    
    .beetle-audit-header h1 {
        font-size: 2rem;
    }
    
    .beetle-url-input {
        flex-direction: column;
    }
}