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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #1a2332 0%, #2a3648 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
    color: #f4d03f;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

header p {
    font-size: 1.4em;
    color: #e0e6ed;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

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

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #1a2332;
    font-weight: 700;
}

/* Features Section */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid #f4d03f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(244, 208, 63, 0.2);
    border-left-color: #2a3648;
}

.feature-card h3 {
    color: #2a3648;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 600;
}

.feature-card p {
    color: #555;
    line-height: 1.8;
}

/* Screenshots Section */
.screenshots {
    background-color: #f8f9fa;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.screenshot-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Promo Gallery Section */
.promo-gallery {
    background: linear-gradient(135deg, #1a2332 0%, #2a3648 100%);
    padding: 80px 0;
}

.promo-gallery .section-title {
    color: #f4d03f;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.promo-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(244, 208, 63, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(244, 208, 63, 0.4);
}

/* Download Buttons */
.download-button {
    display: inline-block;
    background: linear-gradient(135deg, #f4d03f 0%, #f7b731 100%);
    color: #1a2332;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.5);
    background: linear-gradient(135deg, #f7b731 0%, #f4d03f 100%);
}

.download-button-small {
    display: inline-block;
    background: linear-gradient(135deg, #f4d03f 0%, #f7b731 100%);
    color: #1a2332;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(244, 208, 63, 0.3);
}

.download-button-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 208, 63, 0.5);
}

/* Academic Papers Section */
.academic {
    background-color: #f8f9fa;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.05em;
    color: #555;
    line-height: 1.6;
}

.academic-papers {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.paper {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #2a3648;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.paper h3 {
    margin-bottom: 8px;
    font-size: 1.15em;
}

.paper h3 a {
    color: #1a2332;
    text-decoration: none;
}

.paper h3 a:hover {
    color: #2a3648;
    text-decoration: underline;
}

.paper-authors {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.paper-description {
    color: #555;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Contact Section */
.contact {
    background-color: white;
    text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.contact-info p {
    margin: 15px 0;
    font-size: 1.1em;
}

.contact-info a {
    color: #f4d03f;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    color: #f7b731;
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: #1a2332;
    color: white;
    text-align: center;
    padding: 30px 0;
}

footer p {
    color: #e0e6ed;
}

footer a {
    color: #f4d03f;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #f7b731;
    text-decoration: underline;
}

/* External Link Indicator */
a.external-link::after {
    content: ' ↗';
    font-size: 0.85em;
    opacity: 0.7;
    vertical-align: super;
}

.download-button-small.external-link::after {
    margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .section-title {
        font-size: 2em;
    }
}
