/* Leash Training Readiness Test Styles */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --background-color: #f8f9fa;
    --text-color: #2c3e50;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: var(--gradient);
    color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2em;
    margin-bottom: 20px;
    opacity: 0.95;
}

.value-proposition {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9em;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

/* Tool Section */
.tool-section {
    margin-bottom: 60px;
}

.tool-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.tool-container h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8em;
}

.tool-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
    line-height: 1.7;
}

/* Form Styles */
.assessment-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    background: white;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Button Styles */
.analyze-btn {
    width: 100%;
    padding: 15px 30px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 30px;
}

.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.analyze-btn:active {
    transform: translateY(0);
}

/* Results Styles */
.results {
    margin-top: 40px;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.results h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8em;
    text-align: center;
}

.hidden {
    display: none;
}

/* Readiness Overview */
.readiness-overview {
    margin-bottom: 30px;
}

.readiness-score {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.readiness-level {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.2em;
    margin: 15px 0;
}

.readiness-ready { background: #d4edda; color: #155724; }
.readiness-nearly-ready { background: #cce5ff; color: #004085; }
.readiness-developing { background: #fff3cd; color: #856404; }
.readiness-preparing { background: #ffeaa7; color: #b8860b; }
.readiness-not-ready { background: #f8d7da; color: #721c24; }

.overall-score {
    font-size: 1.1em;
    font-weight: 600;
    margin: 10px 0;
    color: var(--primary-color);
}

.timeline {
    font-style: italic;
    color: #666;
    margin-top: 15px;
    line-height: 1.5;
}

/* Detailed Scores */
.detailed-scores {
    margin-bottom: 30px;
}

.detailed-scores h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4em;
}

.score-grid {
    display: grid;
    gap: 15px;
}

.score-item {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.score-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95em;
}

.score-bar {
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60 0%, #f39c12 50%, #e74c3c 100%);
    border-radius: 10px;
    transition: width 0.8s ease;
}

.score-value {
    font-weight: 600;
    color: var(--text-color);
    min-width: 40px;
    text-align: right;
}

/* Recommendations */
.recommendations-section {
    margin-bottom: 30px;
}

.recommendations-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4em;
}

.recommendations-list {
    display: grid;
    gap: 15px;
}

.recommendation-item {
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid;
}

.recommendation-item.priority-critical {
    background: #f8d7da;
    border-left-color: #dc3545;
}

.recommendation-item.priority-high {
    background: #ffeaa7;
    border-left-color: #fd7e14;
}

.recommendation-item.priority-medium {
    background: #cce5ff;
    border-left-color: #007bff;
}

.rec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.rec-priority {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    text-transform: uppercase;
}

.priority-critical .rec-priority {
    background: #dc3545;
    color: white;
}

.priority-high .rec-priority {
    background: #fd7e14;
    color: white;
}

.priority-medium .rec-priority {
    background: #007bff;
    color: white;
}

.rec-category {
    font-weight: 500;
    color: #666;
    font-size: 0.9em;
}

.rec-text {
    line-height: 1.6;
    color: var(--text-color);
}

/* Training Plan */
.training-plan-section {
    margin-bottom: 30px;
}

.training-plan-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4em;
}

.plan-note {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 20px;
    font-style: italic;
    color: var(--primary-color);
}

.plan-timeline {
    display: grid;
    gap: 20px;
}

.plan-phase {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.plan-phase h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.plan-phase ul {
    margin-left: 20px;
}

.plan-phase li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Success Tips */
.success-tips {
    margin-bottom: 30px;
}

.success-tips h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4em;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tip-card {
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tip-card h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.tip-card p {
    line-height: 1.5;
    color: #666;
}

/* Article Content */
.article-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.article-content h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2em;
    line-height: 1.3;
}

.article-content h3 {
    color: var(--primary-color);
    margin: 30px 0 20px 0;
    font-size: 1.5em;
    line-height: 1.4;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.expert-tip {
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8a3 100%);
    border-left: 5px solid #27ae60;
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.1);
}

.expert-tip h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.expert-tip p {
    margin-bottom: 0;
    line-height: 1.7;
    color: #2c3e50;
}

/* Product Promotion */
.product-promotion {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: var(--shadow);
}

.product-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: center;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.product-details h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.product-rating {
    margin-bottom: 15px;
}

.stars {
    color: #ffd700;
    margin-right: 10px;
}

.rating-text {
    opacity: 0.9;
    font-size: 0.9em;
}

.benefits-list {
    margin: 20px 0;
    list-style: none;
}

.benefits-list li {
    margin-bottom: 8px;
    padding-left: 0;
}

.price-section {
    margin: 20px 0;
}

.price {
    font-size: 1.8em;
    font-weight: 600;
    margin-right: 15px;
}

.guarantee {
    opacity: 0.9;
    font-size: 0.9em;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Social Sharing */
.social-sharing {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.social-sharing h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.social-btn.facebook { background: #3b5998; color: white; }
.social-btn.twitter { background: #1da1f2; color: white; }
.social-btn.linkedin { background: #0077b5; color: white; }
.social-btn.whatsapp { background: #25d366; color: white; }
.social-btn.copy-link { background: #6c757d; color: white; }

.copy-success {
    margin-top: 15px;
    padding: 10px 20px;
    background: #d4edda;
    color: #155724;
    border-radius: 25px;
    display: inline-block;
}

/* Related Tools */
.related-tools {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.related-tools h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tool-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.tool-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Quick Reference */
.quick-reference {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.quick-reference h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.reference-card {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.reference-card h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1em;
}

.reference-card p {
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
    color: #666;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    margin-top: 40px;
}

.footer a {
    color: #a8dadc;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .tool-container {
        padding: 25px;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .product-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .value-proposition {
        justify-content: center;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 200px;
        justify-content: center;
    }
    
    .score-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .rec-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 25px 15px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .tool-container {
        padding: 20px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .badge {
        font-size: 0.8em;
        padding: 6px 12px;
    }
    
    .readiness-level {
        font-size: 1em;
        padding: 10px 20px;
    }
}