/* CRO Audit Tool - Public Styles */

.cro-audit-tool {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hero Section */
.cro-audit-hero {
    text-align: center;
    padding: 60px 20px;
    background: #FDEAEA;
    color: #960000;
    border-radius: 12px;
    margin-bottom: 40px;
}

.cro-audit-hero h1 {
    color: #960000;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    color: #333;
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Container */
.cro-audit-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Section Styles */
.cro-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cro-section h2 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

/* What We Check Section */
.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.check-item {
    text-align: center;
    padding: 30px 20px;
    background: #F7F7F7;
    border-radius: 20px;
    border: 0.5px solid #8b2b2d96;
    transition: transform 0.3s ease;
}

.check-item:hover {
    transform: translateY(-5px);
    border: 1px solid #8b2b2d96;
    border-radius: 8px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}

.check-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.check-item h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.check-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Benefits Grid */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-item {
    padding: 25px;
    background: #F7F7F7;
    border: 2px solid #8B2B2C;
    border-radius: 8px;
}

.benefit-item h3 {
    color: #353535;
    margin-bottom: 10px;
}

.benefit-item p {
    color: #8B2B2C;
}

/* Steps Container */
.steps-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #C33B3C;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

/* Process Flow */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.process-item {
    text-align: center;
    background: #F7F7F7;
    padding: 25px;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
}

.process-arrow {
    font-size: 2rem;
    color: #8B2B2C;
    font-weight: bold;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #F7F7F7;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #8B2B2C;
}

.audit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 0.5px solid #8b2b2d96;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border: 2px solid #8B2B2C;
    border-color: #8B2B2C;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group small {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 5px;
}

.submit-btn {
    background: linear-gradient(180deg, #960000 0%, #333 132%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Results Section */
.results-section {
    background: #FDEAEA;
    border: 2px solid #8B2B2C;
}

.overall-score {
    text-align: center;
    margin-bottom: 40px;
}

.score-display {
    display: inline-flex;
    align-items: baseline;
    background: white;
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-top: 15px;
}

.score-number {
    font-size: 4rem;
    font-weight: 700;
    color: #8B2B2C;
}

.score-total {
    font-size: 1.5rem;
    color: #64748b;
}

/* Category Scores */
.scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-score {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-label {
    font-weight: 600;
    color: #1e293b;
}

.score-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: #8B2B2C;
    border-radius: 5px;
    transition: width 1s ease;
}

.score-value {
    font-weight: 600;
    color: #1e293b;
    text-align: right;
}

/* Chart Container */
.chart-container {
    max-width: 400px;
    margin: 0 auto 40px;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

/* Insights */
.insights-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.insight-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid;
}

.strengths-card {
    border-left-color: #10b981;
}

.weaknesses-card {
    border-left-color: #f59e0b;
}

.recommendations-card {
    border-left-color: #8B2B2C;
}

.insight-card h4 {
    margin-bottom: 15px;
    color: #1e293b;
}

.insight-card ul {
    list-style: none;
    padding: 0;
}

.insight-card li {
    padding: 8px 0;
    color: #475569;
}

.insight-card li:last-child {
    border-bottom: none;
}

/* Actions */
.actions-container {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
}

.detailed-report-btn {
    display: inline-block;
    background: linear-gradient(180deg, #960000 0%, #333 132%);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease;
    margin-bottom: 15px;
}

.detailed-report-btn:hover {
    transform: translateY(-2px);
}

.email-notice {
    color: #8B2B2C;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cro-audit-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cro-section {
        padding: 25px;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .process-flow {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .score-number {
        font-size: 3rem;
    }
}