/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    color: #4285f4;
    font-weight: 600;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.navbar a:hover {
    color: #4285f4;
}

.navbar a.active {
    color: #4285f4;
}

.navbar a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4285f4;
    border-radius: 3px;
}

/* Hero Section (for index.html) */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.2rem;
    color: #202124;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.5rem;
    color: #5f6368;
    margin-bottom: 20px;
}

.description {
    font-size: 1.1rem;
    color: #5f6368;
    margin-bottom: 30px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #4285f4;
    color: white;
}

.btn-primary:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #4285f4;
    border: 2px solid #4285f4;
}

.btn-secondary:hover {
    background-color: #f1f8ff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.2rem;
}

.note {
    color: #80868b;
    font-size: 0.95rem;
}

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

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Download Hero Section (for download.html) */
.download-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.download-hero h1 {
    text-align: center;
    font-size: 3rem;
    color: #202124;
    margin-bottom: 15px;
}

.download-hero .subtitle {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 50px;
}

/* System Selection */
.system-selection {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.system-card {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px 20px;
    width: 180px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #4285f4;
}

.system-card.active {
    border-color: #4285f4;
    background-color: #f1f8ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(66, 133, 244, 0.15);
}

.system-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.system-card h3 {
    font-size: 1.3rem;
    color: #202124;
    margin-bottom: 8px;
}

.system-card p {
    color: #5f6368;
    font-size: 0.9rem;
}

/* Download Info */
.download-info {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.download-details {
    display: none;
}

.download-details.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.download-details h3 {
    font-size: 1.8rem;
    color: #202124;
    margin-bottom: 25px;
    text-align: center;
}

.version-info {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.version-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.version-info strong {
    color: #202124;
}

.download-btn {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    background-color: #4285f4;
    color: white;
}

.download-btn:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(66, 133, 244, 0.3);
}

.linux-download-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.linux-download-options .btn {
    flex: 1;
}

.download-note {
    text-align: center;
    color: #5f6368;
    font-size: 0.95rem;
    margin-top: 20px;
}

code {
    background-color: #f1f3f4;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
    color: #d93025;
}

/* System Requirements */
.system-requirements {
    padding: 80px 0;
    background-color: white;
}

.system-requirements h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #202124;
    margin-bottom: 50px;
}

.requirements-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

thead {
    background-color: #4285f4;
    color: white;
}

th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

tbody tr {
    border-bottom: 1px solid #eee;
}

tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

tbody tr:hover {
    background-color: #f1f8ff;
}

td {
    padding: 18px 20px;
    color: #5f6368;
}

/* Installation Instructions */
.instructions {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.instructions h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #202124;
    margin-bottom: 50px;
}

.instruction-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    background-color: #4285f4;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 25px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    color: #202124;
    margin-bottom: 10px;
}

.step-content p {
    color: #5f6368;
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #202124;
    margin-bottom: 60px;
}

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

.feature-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #202124;
    margin-bottom: 15px;
}

.feature-card p {
    color: #5f6368;
    line-height: 1.6;
}

/* Advantages Section */
.advantages {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #202124;
    margin-bottom: 60px;
}

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

.advantage-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.advantage-item h3 {
    font-size: 1.5rem;
    color: #202124;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #5f6368;
    line-height: 1.6;
}

/* Download CTA Section */
.download-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
    text-align: center;
    color: white;
}

.download-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.download-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-cta .btn-large {
    background-color: white;
    color: #4285f4;
    font-weight: 700;
}

.download-cta .btn-large:hover {
    background-color: #f1f8ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.small-note {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: #fff;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #202124;
    margin-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.4rem;
    color: #202124;
    margin-bottom: 15px;
}

.faq-item p {
    color: #5f6368;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: #202124;
    color: #e8eaed;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.link-group h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 10px;
}

.link-group a {
    color: #9aa0a6;
    text-decoration: none;
    transition: color 0.3s;
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #3c4043;
    padding-top: 30px;
    text-align: center;
    color: #9aa0a6;
    font-size: 0.9rem;
}

.breadcrumb {
    margin-top: 15px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #9aa0a6;
    text-decoration: none;
}

.breadcrumb span {
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .system-card {
        width: 150px;
        padding: 20px 15px;
    }
    
    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar ul {
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .system-selection {
        gap: 15px;
    }
    
    .system-card {
        width: calc(50% - 15px);
    }
    
    .linux-download-options {
        flex-direction: column;
    }
    
    .download-info {
        padding: 30px 20px;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .download-hero h1 {
        font-size: 2.2rem;
    }
    
    .system-card {
        width: 100%;
    }
    
    .download-cta h2,
    .instructions h2,
    .system-requirements h2,
    .faq h2,
    .features h2,
    .advantages h2 {
        font-size: 2rem;
    }
    
    .version-info {
        padding: 20px 15px;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 12px 10px;
    }
}