:root {
    --primary-green: #059669;
    --dark-green: #047857;
    --light-green: #ecfdf5;
    --accent-green: #065f46;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --background-section: #f7fee7;
    --border-color: #e5e7eb;
    --border-green: #a7f3d0;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px 0 rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.75;
    color: var(--text-primary);
    background: linear-gradient(to bottom, var(--background-section) 0%, var(--background) 100%);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.author-info {
    font-size: 1.1rem;
}

.author {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.institution {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Main Content */
.main {
    padding: 4rem 0;
    background: var(--background-section);
}

.article {
    background: transparent;
}

.section {
    margin-bottom: 4rem;
    background: var(--background);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: box-shadow 0.2s ease;
}

.section:hover {
    box-shadow: var(--shadow-xl);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-green);
    border-radius: 12px 12px 0 0;
}

.section h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-green);
    letter-spacing: -0.01em;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-green);
}

.section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.section p {
    margin-bottom: 1.25rem;
    text-align: justify;
    color: var(--text-primary);
    line-height: 1.8;
}

/* Introduction */
.introduction {
    background: var(--light-green);
    border-left: 6px solid var(--primary-green);
    padding: 3rem !important;
}

.introduction::before {
    background: var(--primary-green);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text p {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.intro-image {
    display: flex;
    justify-content: center;
}

.responsive-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.responsive-image:hover {
    transform: scale(1.02);
}

/* Resource Types */
.resource-types {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.resource-type {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.resource-type:hover {
    box-shadow: var(--shadow-md);
}

.resource-type h3 {
    color: var(--accent-green);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.resource-type p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Functions List */
.functions-list {
    list-style: none;
    margin-top: 1.5rem;
}

.functions-list li {
    background: var(--background-alt);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    box-shadow: var(--shadow-sm);
}

.functions-list li:last-child {
    margin-bottom: 0;
}

.functions-list strong {
    color: var(--accent-green);
    font-weight: 600;
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-card {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-green);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-card h3 {
    color: var(--accent-green);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 600;
}

.platform-link {
    display: inline-block;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.platform-link:hover {
    border-bottom-color: var(--primary-green);
}

.platform-card p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.benefit-item {
    background: var(--background);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-green);
    transition: all 0.3s ease;
    position: relative;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-green);
    border-radius: 16px 16px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.benefit-item:hover::before {
    transform: scaleX(1);
}

/* Section with Image Layouts */
.section-with-image {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.section-text {
    flex: 1;
}

.section-image {
    display: flex;
    justify-content: center;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-header p {
    flex: 1;
    margin-bottom: 0;
}

.section-header-image {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.section-header-image:hover {
    transform: scale(1.05);
}

.benefit-item h3 {
    color: var(--accent-green);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.benefit-item p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Conclusion */
.conclusion {
    background: linear-gradient(135deg, var(--light-green) 0%, #ecfdf5 100%);
    border-left: 4px solid var(--primary-green);
}

.conclusion::before {
    background: var(--primary-green);
}

.conclusion p:last-child {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* References */
.references {
    list-style: none;
    margin-top: 1rem;
}

.references li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.references li:last-child {
    border-bottom: none;
}

.references a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer p {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .title {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .section h2 {
        font-size: 1.75rem;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .main {
        padding: 3rem 0;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .section-header-image {
        width: 100%;
        max-width: 300px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .author {
        font-size: 1.125rem;
    }
    
    .institution {
        font-size: 0.9rem;
    }
    
    .section {
        padding: 1.5rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .platform-card,
    .resource-type,
    .benefit-item {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header {
        background: var(--accent-green) !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .section {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid var(--border-color) !important;
        break-inside: avoid;
    }
    
    .platform-card,
    .resource-type,
    .benefit-item {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid var(--border-color) !important;
    }
    
    .footer {
        background: var(--accent-green) !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}