/* Base styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    font-size: 18px; /* Increased base font size */
}

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

h1, h2, h3, h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem; /* Larger paragraph text */
    line-height: 1.8;
    max-width: 100%;
}

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

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

/* Navigation */
header {
    background-color: var(--secondary-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: width var(--transition-speed) ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 150px 20px 100px;
    margin-top: 60px;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: white;
    line-height: 1.2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#hero .byline {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color var(--transition-speed) ease;
}

.cta-button:hover {
    background-color: #c0392b;
    color: white;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

section h2:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Manifesto Section */
#manifesto {
    background-color: white;
}

#manifesto .byline {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 30px;
}

#manifesto .byline a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

#manifesto .byline a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    color: var(--primary-color);
}

.closing-quote {
    text-align: center;
    border-left: none;
    padding: 25px 20px;
    margin: 40px auto 20px;
    max-width: 800px;
    color: var(--accent-color);
    font-weight: 400;
    background-color: rgba(231, 76, 60, 0.05);
    border-radius: 8px;
}

.principle {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 5px;
    background-color: rgba(236, 240, 241, 0.5);
    transition: transform var(--transition-speed) ease;
}

.principle:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.principle h3 {
    color: var(--primary-color);
}

/* Use Cases Section */
#usecases {
    background-color: #f9f9f9;
}

.usecase {
    margin-bottom: 50px;
    padding: 30px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease;
}

.usecase:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.usecase h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.usecase ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.investigators {
    font-style: italic;
    color: var(--primary-color);
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 15px;
}

.investigators a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.investigators a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Timeline Section */
#timeline {
    background-color: white;
    padding-bottom: 100px;
}

.timeline-separator {
    text-align: center;
    position: relative;
    margin: 30px auto 40px;
    max-width: 800px;
}

.timeline-separator:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    top: 50%;
    left: 0;
    z-index: 1;
}

.timeline-separator span {
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    color: var(--secondary-color);
    font-weight: bold;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
}

.timeline-separator:first-of-type span {
    color: #27ae60;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.15);
}

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

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    border-radius: 4px;
}

.timeline-item.future:after {
    border-color: #27ae60;
    border-width: 3px;
}

.timeline-item.future .timeline-content {
    background-color: #f9fffc;
    box-shadow: 0 5px 25px rgba(39, 174, 96, 0.15);
}

.timeline-item.future .timeline-content:before {
    border-right-color: #f9fffc;
}

.timeline-item.future:nth-child(even) .timeline-content:before {
    border-left-color: #f9fffc;
}

.timeline-item.future .timeline-date {
    color: #27ae60;
}

.timeline-item {
    position: relative;
    margin-bottom: 70px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 48%;
    margin-right: 2%;
}

.timeline-item:nth-child(even) {
    margin-left: 52%;
    margin-right: 0;
    width: 48%;
}

.timeline-item:after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: white;
    border: 3px solid var(--primary-color);
    top: 20px;
    border-radius: 50%;
    z-index: 2;
    right: auto;
    left: calc(104%);
    transform: translateX(-50%);
}

.timeline-item:nth-child(even):after {
    left: -4%;
    right: auto;
    transform: translateX(-50%);
}

.timeline-date {
    position: absolute;
    width: 170px;
    text-align: right;
    left: -200px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.timeline-item:nth-child(even) .timeline-date {
    right: -200px;
    left: auto;
    text-align: left;
}

.timeline-content {
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.timeline-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.timeline-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.timeline-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 20px;
    right: 100%;
    border: 12px solid transparent;
    border-right-color: #f9f9f9;
    margin-right: -1px;
}

.timeline-item:nth-child(even) .timeline-content:before {
    left: 100%;
    right: auto;
    border-color: transparent;
    border-left-color: #f9f9f9;
    margin-left: -1px;
}

/* About Section */
#about {
    background-color: #f9f9f9;
    text-align: center;
}

.participants ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin-bottom: 40px;
}

.participants li {
    margin: 10px 20px;
    padding: 10px 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease;
    font-size: 1.1rem;
}

.participants li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.participants li a {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.participants li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.matrix-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    transition: background-color var(--transition-speed) ease;
}

.matrix-link:hover {
    background-color: #2980b9;
    color: white;
}

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

footer .disclaimer {
    font-size: 0.85rem;
    opacity: 0.85;
    max-width: 800px;
    margin: 10px auto 0;
    line-height: 1.5;
}

footer .disclaimer a {
    color: white;
    text-decoration: underline;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

footer .disclaimer a:hover {
    opacity: 1;
    color: white;
}

/* Responsive styles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 10px;
    }
    
    #hero h2 {
        font-size: 2.2rem;
        padding: 0 10px;
    }
    
    .timeline-separator {
        margin: 40px auto 30px;
    }
    
    .timeline-separator span {
        padding: 8px 15px;
        font-size: 1rem;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item, .timeline-item:nth-child(even) {
        width: calc(100% - 60px);
        margin-left: 0;
        margin-right: 0;
        padding-left: 60px;
    }
    
    .timeline:before {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-item:after, .timeline-item:nth-child(even):after {
        left: 30px;
        right: auto;
        transform: translateX(-50%);
    }
    
    .timeline-date, .timeline-item:nth-child(even) .timeline-date {
        left: 0;
        right: auto;
        text-align: left;
        top: -30px;
        width: auto;
    }
    
    .timeline-content:before, .timeline-item:nth-child(even) .timeline-content:before {
        left: -20px;
        right: auto;
        border-color: transparent;
        border-right-color: #f9f9f9;
    }
    
    .timeline-item.future .timeline-content:before {
        border-right-color: #f9fffc;
    }
    
    .timeline-content {
        font-size: 0.95rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .participants ul {
        flex-direction: column;
        align-items: center;
    }
}
