/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="music" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23music)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-title i {
    margin-right: 1rem;
    color: #fbbf24;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Introduction Section */
.intro-section {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
}

.intro-content h2 {
    font-size: 2.5rem;
    color: #6b46c1;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.intro-content > p {
    font-size: 1.125rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #4a5568;
    line-height: 1.8;
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.intro-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: #c084fc;
}

.intro-card i {
    font-size: 3rem;
    color: #8b5cf6;
    margin-bottom: 1rem;
}

.intro-card h3 {
    font-size: 1.5rem;
    color: #6b46c1;
    margin-bottom: 1rem;
    font-weight: 600;
}

.intro-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* SWOT Section */
.swot-section {
    padding: 4rem 2rem;
    background: white;
}

.swot-content h2 {
    font-size: 2.5rem;
    color: #6b46c1;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.swot-description {
    text-align: center;
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3rem;
}

.swot-matrix {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.swot-labels {
    position: absolute;
    top: -40px;
    left: -120px;
    right: -40px;
    bottom: -40px;
    pointer-events: none;
    z-index: 0;
}

.label-top {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 120px;
    right: 0;
    font-weight: 600;
    color: #6b46c1;
}

.label-side {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 600;
    color: #6b46c1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.swot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.swot-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid;
    position: relative;
    overflow: hidden;
}

.swot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    transition: opacity 0.3s ease;
}

.swot-card:hover::before {
    opacity: 0.1;
}

.swot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.strengths {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.strengths::before {
    background: #8b5cf6;
}

.weaknesses {
    border-color: #06b6d4;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
}

.weaknesses::before {
    background: #06b6d4;
}

.opportunities {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.opportunities::before {
    background: #f59e0b;
}

.threats {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.threats::before {
    background: #ef4444;
}

.swot-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.strengths .swot-icon {
    color: #8b5cf6;
}

.weaknesses .swot-icon {
    color: #06b6d4;
}

.opportunities .swot-icon {
    color: #f59e0b;
}

.threats .swot-icon {
    color: #ef4444;
}

.swot-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.swot-card p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
    font-style: italic;
}

.swot-preview {
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 500;
}

/* Metrics Section */
.metrics-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.metrics-content h2 {
    font-size: 2.5rem;
    color: #6b46c1;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.metrics-content > p {
    text-align: center;
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.metric-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #8b5cf6;
}

.metric-card h3 {
    font-size: 1.5rem;
    color: #6b46c1;
    margin-bottom: 1rem;
    font-weight: 600;
}

.metric-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.metric-card li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.metric-card li::before {
    content: '♪';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: bold;
}

/* Exercise Section */
.exercise-section {
    padding: 4rem 2rem;
    background: white;
}

.exercise-content h2 {
    font-size: 2.5rem;
    color: #6b46c1;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.exercise-content > p {
    text-align: center;
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 3rem;
}

.exercise-card {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.exercise-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.exercise-card p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary {
    background: white;
    color: #8b5cf6;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-content p {
    opacity: 0.8;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #000;
}

/* Exercise Modal */
.exercise-modal {
    max-width: 1000px;
}

.exercise-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.form-section h3 {
    color: #6b46c1;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-section textarea {
    width: 100%;
    height: 150px;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.form-section textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .intro-cards {
        grid-template-columns: 1fr;
    }
    
    .swot-labels {
        display: none;
    }
    
    .swot-grid {
        gap: 1rem;
    }
    
    .swot-card {
        padding: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .exercise-form {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
    
    .header {
        padding: 2rem 1rem;
    }
    
    .intro-section,
    .swot-section,
    .metrics-section,
    .exercise-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .swot-grid {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .intro-content h2,
    .swot-content h2,
    .metrics-content h2,
    .exercise-content h2 {
        font-size: 2rem;
    }
}

