:root {
    --primary-color: #21114d;
    --primary-dark: #1a0d3a;
    --primary-light: #3a297a;
    --accent-color: #6a4caf;
    --text-color: #333;
    --light-text: #f8f9fa;
    --white: #ffffff;
    --error-color: #ff4444;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 15px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.logo {
    height: 60px;
    margin-right: 20px;
}

.header-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Password Protection Styles */
#passwordBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#passwordInput {
    padding: 15px 25px;
    font-size: 18px;
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    width: 320px;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

#submitBtn {
    padding: 15px 35px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
}

#submitBtn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.error {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* Main Content */
.main-content {
    display: none;
    width: 100%;
}

/* Tab Navigation */
.tabs {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--white);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab {
    padding: 18px 10px;
    cursor: pointer;
    flex: 1 0 auto;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab:hover {
    background-color: #f5f5f5;
    color: var(--accent-color);
}

.tab.active {
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    font-weight: 600;
}

/* Sub-tabs */
.sub-tabs {
    display: flex;
    flex-wrap: wrap;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    justify-content: center;
    margin-bottom: 30px;
}

.sub-tab {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin: 0 10px;
    border-radius: 4px;
}

.sub-tab:hover {
    background-color: #e9e9e9;
    color: var(--accent-color);
}

.sub-tab.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    font-weight: 600;
    background-color: #e9e9e9;
}

@media (max-width: 600px) {
    .tab {
        font-size: 14px;
        padding: 12px 5px;
    }
    
    .sub-tab {
        padding: 8px 12px;
        margin: 0 5px;
        font-size: 12px;
    }
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 30px;
    background-color: var(--white);
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
    min-height: calc(100vh - 100px);
    font-size: 18px;
    line-height: 1.7;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tab-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 25px 0 15px;
}

.tab-content p {
    margin-bottom: 20px;
}

/* Iframe Styles */
.responsive-iframe {
    width: 100%;
    height: calc(100vh - 100px);
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Professional content styling */
.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.content-title {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.content-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.content-section {
    margin-bottom: 40px;
}

.script-intro {
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
}

/* Recommendations content */
.recommendation-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.recommendation-item:last-child {
    border-bottom: none;
}

.recommendation-item h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.sub-tab-content {
    display: none;
}

.sub-tab-content.active {
    display: block;
}

/* Stats Cards */
.stats-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 220px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 18px;
    color: var(--primary-color);
}

/* Download Button */
.download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.download-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.download-button i {
    margin-right: 8px;
}