/* Material Design CSS for Flyby11 */

:root {
    --primary-color: #1976d2;
    --primary-dark: #1565c0;
    --primary-light: #42a5f5;
    --secondary-color: #424242;
    --accent-color: #ff5722;
    --background-color: #fafafa;
    --surface-color: #ffffff;
    --text-primary: #212121;
    --text-secondary: #757575;
    --divider-color: #e0e0e0;
    --shadow-1: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-2: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-3: 0 8px 16px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.header {
    background-color: var(--surface-color);
    box-shadow: var(--shadow-1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 32px;
    width: auto;
}

.brand-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--border-radius);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(25, 118, 210, 0.08);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 24px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-2);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--surface-color);
    color: var(--primary-color);
    border: 1px solid var(--divider-color);
}

.btn-secondary:hover {
    background-color: rgba(25, 118, 210, 0.08);
    box-shadow: var(--shadow-2);
}

.btn-large {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-gif {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-3);
    max-height: 400px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 48px;
}

/* Focus Section */
.focus-section {
    background-color: var(--surface-color);
}

/* New Features Section */
.new-features-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.feature-card {
    background-color: var(--surface-color);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-1);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.feature-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-4px);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.05), rgba(66, 165, 245, 0.05));
}

.feature-card.highlight {
    border-color: transparent;
    background: var(--surface-color);
}

.feature-card.highlight:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.05), rgba(66, 165, 245, 0.05));
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(25, 118, 210, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon .material-icons {
    font-size: 32px;
    color: var(--primary-color);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
}

.feature-card:hover .feature-icon .material-icons {
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.feature-highlight {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-3);
}

.highlight-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
}

.highlight-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.6;
}

.highlight-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.highlight-actions .btn {
    min-width: 160px;
}

.highlight-actions .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.highlight-actions .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.focus-card {
    background-color: var(--surface-color);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-1);
    text-align: center;
    transition: var(--transition);
}

.focus-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-4px);
}

.card-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(25, 118, 210, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.card-icon .material-icons {
    font-size: 32px;
    color: var(--primary-color);
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.download-section .section-title,
.download-section .section-subtitle {
    color: white;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
    justify-items: center;
}

.download-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 24px;
    width: 100%;
    max-width: 280px;
    box-shadow: var(--shadow-3);
    color: var(--text-primary);
    transition: var(--transition);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-3), 0 12px 24px rgba(0,0,0,0.15);
}

.download-card.featured {
    border: 2px solid transparent;
    transform: none;
}

.download-card.featured:hover {
    border: 3px solid var(--accent-color);
    transform: translateY(-4px);
}

.download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.download-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.version-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

.version-badge.nightly {
    background-color: #ff9800;
}

.version-badge.classic {
    background-color: #607d8b;
}

.version-badge.media {
    background-color: #9c27b0;
}

.download-purpose {
    margin-bottom: 20px;
    text-align: center;
}

.download-purpose p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
    line-height: 1.3;
}

.download-card.media-kit {
    border: 2px solid transparent;
}

.download-card.media-kit:hover {
    border: 2px solid #9c27b0;
}

.download-note {
    text-align: center;
    margin-top: 32px;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.download-note p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-style: italic;
}

.download-features .material-icons.warning {
    color: #ff9800;
}

.download-features ul {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.download-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.4;
}

.download-features .material-icons {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 2px;
}

.download-action {
    text-align: center;
}

.download-info {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.3;
}

/* Why Choose Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.benefit-item {
    text-align: center;
}

.benefit-number {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    margin: 0 auto 24px;
}

.benefit-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.benefit-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
    background-color: var(--surface-color);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.review-card {
    background-color: var(--background-color);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-1);
}

.review-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.review-rating .material-icons {
    color: #ffc107;
    font-size: 20px;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.review-author strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.review-author span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Scenarios Section */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.scenario-card {
    background-color: var(--surface-color);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-1);
    text-align: center;
    transition: var(--transition);
}

.scenario-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-4px);
}

.scenario-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 87, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.scenario-icon .material-icons {
    font-size: 32px;
    color: var(--accent-color);
}

.scenario-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.scenario-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-list a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .download-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .focus-grid,
    .features-grid,
    .benefits-grid,
    .reviews-grid,
    .scenarios-grid,
    .issues-grid {
        grid-template-columns: 1fr;
    }
    
    .download-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .download-card {
        max-width: 100%;
        min-height: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .feature-highlight {
        padding: 32px 24px;
    }
    
    .highlight-title {
        font-size: 24px;
    }
    
    .highlight-description {
        font-size: 16px;
    }
    
    .highlight-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Issues Section */
.issues {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.issue-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-1);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.issue-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-2px);
}

.issue-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.issue-number {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.issue-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.issue-status:contains("Open") {
    background-color: #fff3cd;
    color: #856404;
}

.issue-status:contains("Resolved") {
    background-color: #d1edff;
    color: #0c5460;
}

.issue-solution {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #28a745;
    font-size: 14px;
    color: var(--text-primary);
    margin-top: 12px;
}

.issue-solution strong {
    color: #28a745;
}

.issue-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.issue-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.issue-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
    padding-top: 12px;
}

.issue-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.issue-link:hover {
    text-decoration: underline;
}