/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #34495e;
    --text-color: #333;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f7fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 50px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Header */
header {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

header h1, header h2 {
    color: white;
}

header h2 {
    font-weight: 400;
    margin-top: 0.5rem;
}

header h2::after {
    display: none;
}

/* Navigation */
nav {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
}

nav li {
    margin: 0 0.5rem;
}

nav a {
    color: white;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 4px;
    transition: var(--transition);
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Main Content */
main {
    padding: 2rem 0;
}

section {
    margin-bottom: 3rem;
}

.card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

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

.btn-download {
    background-color: var(--accent-color);
    font-weight: bold;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-download:hover {
    background-color: #c0392b;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
    background-color: var(--light-color);
}

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

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Criteria Section */
.criteria {
    margin-top: 1.5rem;
}

.criterion {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.criterion:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Analysis Steps */
.analysis-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.step {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

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

/* Question Types */
.question-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.type {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

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

/* Templates */
.templates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.template {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--light-color);
    transition: var(--transition);
}

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

.template i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Teaching Sections */
.teaching-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.section {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

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

/* Download Section */
.download-card {
    text-align: center;
    padding: 3rem;
}

.download-card i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .features, 
    .analysis-steps, 
    .question-types, 
    .templates, 
    .teaching-sections {
        grid-template-columns: 1fr;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.5s ease-out;
}

section:nth-child(2) {
    animation-delay: 0.1s;
}

section:nth-child(3) {
    animation-delay: 0.2s;
}

section:nth-child(4) {
    animation-delay: 0.3s;
}

section:nth-child(5) {
    animation-delay: 0.4s;
}

section:nth-child(6) {
    animation-delay: 0.5s;
}

section:nth-child(7) {
    animation-delay: 0.6s;
}
