/* Tools Page Specific Styles */

.tools-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.tool-container {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
}

.tool-container:hover {
    border-color: var(--primary-green);
}

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

.tool-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), #2d5a9e);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
}

.tool-header-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.tool-description {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Tool Interface */
.tool-interface {
    max-width: 800px;
    margin: 0 auto;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label,
.textarea-group label {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.input-group input,
.input-group select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.textarea-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(135, 244, 171, 0.1);
}

.textarea-group {
    margin-bottom: 25px;
}

.textarea-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s;
}

/* Buttons */
.btn-calculate {
    width: 100%;
    padding: 15px 30px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    margin-bottom: 30px;
}

.btn-calculate:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Results Container */
.results-container {
    margin-top: 30px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--primary-green);
}

.results-container h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.result-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.result-card.highlight {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--primary-blue);
}

.result-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.8;
}

.result-card.highlight .result-label {
    opacity: 1;
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
}

/* Score Display */
.score-display {
    text-align: center;
    margin-bottom: 30px;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #2d5a9e);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.score-circle span {
    font-size: 3rem;
}

.score-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Checklist Results */
.checklist-results ul,
.recommendations ul {
    list-style: none;
    padding: 0;
}

.checklist-results li,
.recommendations li {
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
}

.checklist-results li.pass {
    border-left: 4px solid #4caf50;
}

.checklist-results li.fail {
    border-left: 4px solid #f44336;
}

.checklist-results li i {
    font-size: 1.2rem;
}

.checklist-results li.pass i {
    color: #4caf50;
}

.checklist-results li.fail i {
    color: #f44336;
}

/* Angle Cards */
.angle-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-green);
}

.angle-card h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.angle-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Email Preview */
.email-preview {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.email-header {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    color: var(--text-dark);
}

.email-body {
    color: var(--text-dark);
    line-height: 1.8;
    white-space: pre-line;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-green);
}

.timeline-item {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 25px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-green);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-green);
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.timeline-task {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Link Recommendation */
.link-recommendation {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    border-left: 4px solid var(--primary-green);
}

.link-recommendation h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* Checklist Form */
.checklist-form {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: all 0.3s;
    background: var(--bg-light);
}

.checkbox-item:hover {
    background: rgba(135, 244, 171, 0.1);
}

.checkbox-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--primary-green);
}

.checkbox-item label {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
}

.checklist-score {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.score-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: var(--primary-blue);
    font-weight: 700;
}

.readiness-message {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 10px;
}

/* Headline Analysis */
.headline-analysis {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.analysis-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: var(--bg-light);
}

.analysis-label {
    font-weight: 600;
    color: var(--primary-blue);
}

.analysis-value {
    font-weight: 700;
    color: var(--text-dark);
}

.analysis-status {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.analysis-status.good {
    background: #e8f5e9;
    color: #2e7d32;
}

.analysis-status.warning {
    background: #fff3e0;
    color: #e65100;
}

.analysis-status.bad {
    background: #ffebee;
    color: #c62828;
}

/* Responsive */
@media (max-width: 768px) {
    .tool-container {
        padding: 25px 20px;
    }

    .input-grid {
        grid-template-columns: 1fr;
    }

    .tool-header-section h2 {
        font-size: 1.6rem;
    }

    .tool-icon-large {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .score-circle {
        width: 120px;
        height: 120px;
    }

    .score-circle span {
        font-size: 2.5rem;
    }

    .result-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tool-container {
        padding: 20px 15px;
    }

    .btn-calculate {
        font-size: 1rem;
    }

    .email-preview {
        padding: 15px;
    }

    .timeline {
        padding-left: 30px;
    }
}