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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    color: #0066cc;
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subhead {
    color: #666;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

input[type="text"],
input[type="url"],
input[type="email"],
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus,
select:focus {
    outline: none;
    border-color: #0066cc;
}

.submit-btn,
.cta-btn {
    width: 100%;
    background: #0066cc;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.submit-btn:hover,
.cta-btn:hover {
    background: #0052a3;
}

.hidden {
    display: none !important;
}

#loading-section {
    text-align: center;
    padding: 40px 0;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0066cc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#results-section {
    margin-top: 30px;
}

#results-section h2 {
    color: #0066cc;
    margin-bottom: 20px;
}

#audit-results {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    white-space: pre-wrap;
    line-height: 1.8;
}

.cta-section {
    background: #e3f2fd;
    padding: 25px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.cta-section h3 {
    color: #0066cc;
    margin-bottom: 10px;
}

.cta-section p {
    margin-bottom: 20px;
    color: #666;
}

.confirmation-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 25px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .subhead {
        font-size: 1rem;
    }
}
