/* ========================================
   STRATEGY PAGE STYLES
   ======================================== */

.strategy-main {
    padding: var(--space-xl) 0;
    min-height: calc(100vh - 400px);
}

/* ========================================
   SEASON OVERVIEW
   ======================================== */
.season-overview {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.season-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-white);
    color: var(--color-black);
    border: 3px solid var(--color-teal);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
}

.season-badge i {
    font-size: 1.5rem;
}

.season-guidance {
    font-family: var(--font-subheading);
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
}

/* ========================================
   TOOLS SECTION
   ======================================== */
.tools-section {
    margin-bottom: var(--space-xl);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.tools-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

/* ========================================
   TOOL CARDS
   ======================================== */
.tool-card {
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.tool-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.tool-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-teal);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.tool-content {
    flex: 1;
}

.tool-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
}

.tool-subtitle {
    font-family: var(--font-subheading);
    font-weight: 400;
    font-size: 1rem;
    color: var(--color-teal);
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.tool-description {
    font-family: var(--font-subheading);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: var(--space-md);
}

/* ========================================
   TOOL PROGRESS
   ======================================== */
.tool-progress {
    margin-top: var(--space-md);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--space-xs);
}

.progress-fill {
    height: 100%;
    background: var(--color-teal);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.progress-label {
    font-family: var(--font-subheading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.6);
}

.progress-label.in-progress {
    color: var(--color-gold);
}

.progress-label.completed {
    color: var(--color-teal);
}

.progress-label.review {
    color: var(--color-purple);
}

/* ========================================
   TOOL ACTIONS
   ======================================== */
.tool-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ========================================
   RECOMMENDATIONS SECTION
   ======================================== */
.recommendations-section {
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    background-color: var(--color-cream);
    border-radius: var(--border-radius);
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
}

.recommendation-card {
    background-color: var(--color-white);
    padding: var(--space-md);
    border-left: 4px solid var(--color-purple);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.recommendation-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    color: var(--color-purple);
}

.recommendation-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 2px solid var(--color-cream);
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.25rem;
}

.modal-close:hover {
    color: var(--color-black);
}

.modal-body {
    padding: var(--space-lg);
}

.modal-footer {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-top: 2px solid var(--color-cream);
}

/* ========================================
   FORM ELEMENTS IN MODAL
   ======================================== */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius);
    transition: border-color 0.3s ease;
}

.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-purple);
    box-shadow: 0 0 0 3px rgba(141, 28, 144, 0.1);
}

.form-textarea {
    resize: vertical;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .tools-grid,
    .tools-grid-2x2 {
        grid-template-columns: 1fr;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-actions {
        flex-direction: column;
    }
    
    .btn-small {
        width: 100%;
        justify-content: center;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}