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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-visual {
    margin-top: 3rem;
}

.diagram-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.flow-step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    min-width: 160px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.flow-step.highlight {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.step-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

.flow-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Navigation */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 1rem 0;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #667eea;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

.section {
    margin-bottom: 6rem;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #2d3748;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Abstract Section */
.abstract-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.abstract-content p {
    margin-bottom: 1.5rem;
}

.abstract-content strong {
    color: #667eea;
    font-weight: 600;
}

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

.method-card {
    background: #f8faff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

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

.method-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Findings Section */
.findings-list {
    max-width: 800px;
    margin: 0 auto;
}

.finding-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f8faff;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.finding-number {
    background: #667eea;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.finding-content h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

/* Results Section */
.results-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.result-highlight {
    background: linear-gradient(135deg, #f8faff 0%, #e6f3ff 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.result-highlight h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Citation Section */
.citation-box {
    background: #1a202c;
    color: #e2e8f0;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    overflow-x: auto;
}

.citation-box pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.citation-box code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.links-section {
    margin-top: 3rem;
}

.links-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2d3748;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f8faff;
    border-radius: 8px;
    text-decoration: none;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.link-card:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.link-icon {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: #2d3748;
    color: #e2e8f0;
    text-align: center;
    padding: 3rem 0;
}

footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .diagram-placeholder {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .methodology-grid,
    .results-content {
        grid-template-columns: 1fr;
    }
    
    .finding-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .project-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .method-card,
    .result-highlight {
        padding: 1.5rem;
    }
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
    .method-card,
    .finding-item,
    .result-highlight {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .method-card:nth-child(1) { animation-delay: 0.1s; }
    .method-card:nth-child(2) { animation-delay: 0.2s; }
    .method-card:nth-child(3) { animation-delay: 0.3s; }
    
    .finding-item:nth-child(1) { animation-delay: 0.1s; }
    .finding-item:nth-child(2) { animation-delay: 0.2s; }
    .finding-item:nth-child(3) { animation-delay: 0.3s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
