﻿/* HouzLinc Website Styles */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #64748b;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

    a:hover {
        color: #1d4ed8;
    }

/* Development Notice */
.development-notice {
    background: #fef7cd;
    border: 2px solid #d97706;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    color: #92400e;
}

.development-notice p {
    margin: 0;
    color: #92400e;
}

.development-notice strong {
    color: #92400e;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

    .btn-primary:hover {
        background: #1d4ed8;
        border-color: #1d4ed8;
        color: white;
        transform: translateY(-1px);
    }

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

    .btn-secondary:hover {
        background: #2563eb;
        color: white;
        transform: translateY(-1px);
    }

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

    .btn:disabled:hover {
        transform: none;
    }

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

/* Mobile version - keep this one */
@media (max-width: 768px) {
    .logo {
        gap: 0.5rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    color: #2563eb;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.version {
    background: #e5e7eb;
    color: #6b7280;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.version {
    background: #e5e7eb;
    color: #6b7280;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

    .nav-links a {
        color: #4b5563;
        font-weight: 500;
        transition: color 0.2s ease;
        padding: 8px 0;
        position: relative;
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: #2563eb;
        }

            .nav-links a.active::after {
                content: '';
                position: absolute;
                bottom: -2px;
                left: 0;
                right: 0;
                height: 2px;
                background: #2563eb;
                border-radius: 1px;
            }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

    .mobile-menu-btn span {
        width: 24px;
        height: 3px;
        background: #4b5563;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

/* Main content */
main {
    margin-top: 70px;
}

/* Hero section */
.hero {
    padding: 80px 0 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.3;
    }

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

    /* Style links in hero section to match surrounding text */
    .hero-subtitle a {
        color: inherit;
        opacity: inherit;
        text-decoration: underline;
        text-decoration-color: rgba(255, 255, 255, 0.5);
    }

        .hero-subtitle a:hover {
            color: inherit;
            text-decoration-color: rgba(255, 255, 255, 0.8);
        }

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: inherit;
}

/* Style links in hero section to match surrounding text */
.hero-text a {
    color: inherit;
    opacity: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

    .hero-text a:hover {
        color: inherit;
        text-decoration-color: rgba(255, 255, 255, 0.8);
    }

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.platform-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.hero-image {
    position: relative;
}

    .hero-image img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease;
    }

    .hero-image:hover img {
        transform: translateY(-5px);
    }

/* Sections */
section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* Features section */
.features {
    background: #f8fafc;
}

    .features h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: #1e293b;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Screenshots section */
.screenshots {
    padding: 80px 0;
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.screenshot {
    text-align: center;
}

    .screenshot img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        margin-bottom: 1.5rem;
        transition: transform 0.3s ease;
    }

    .screenshot:hover img {
        transform: scale(1.02);
    }

    .screenshot h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        color: #1e293b;
    }

    .screenshot p {
        color: #6b7280;
        font-size: 1rem;
    }

    .screenshot .android-screenshot {
        max-width: 50%; /* Makes it 50% of its container width */
        margin: -15px auto 1.5rem auto; /* Negative top margin moves it up */
        display: block;
    }

/* Technical specs */
.technical-specs {
    background: #1e293b;
    color: white;
}

    .technical-specs h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        color: white;
    }

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.spec-card {
    text-align: center;
    padding: 1.5rem;
}

    .spec-card h3 {
        font-size: 2rem;
        color: #60a5fa;
        margin-bottom: 0.5rem;
    }

    .spec-card p {
        color: #cbd5e1;
    }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    text-align: center;
}

    .cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .cta-section p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        color: inherit;
        opacity: 0.9;
    }

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Open source section */
.open-source-note {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.open-source-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.open-source-text h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.open-source-text p {
    margin-bottom: 2rem;
}

.open-source-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .stat strong {
        display: block;
        font-size: 1.2rem;
        color: #2563eb;
    }

    .stat span {
        color: #6b7280;
        font-size: 0.9rem;
    }

/* Downloads page styles */
.downloads-page .download-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 0 80px 0;
}

.download-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-hero .subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    color: inherit;
}

.download-options {
    padding: 80px 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.download-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

    .download-card.featured {
        border-color: #2563eb;
        transform: scale(1.02);
    }

    .download-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .download-card.featured:hover {
        transform: translateY(-5px) scale(1.02);
    }

    .download-card.coming-soon {
        opacity: 0.7;
        border-color: #d1d5db;
    }

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.platform-desc {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.version-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.version-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

    .version-detail:last-child {
        margin-bottom: 0;
    }

.download-btn {
    width: 100%;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.download-icon {
    font-size: 1.2rem;
}

.install-note {
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: left;
    font-size: 0.9rem;
}

    .install-note strong {
        color: #92400e;
        display: block;
        margin-bottom: 0.5rem;
    }

    .install-note ul {
        margin: 0.5rem 0 0.5rem 1rem;
        color: #78350f;
    }

.help-link {
    color: #2563eb;
    font-weight: 500;
}

.alternative-downloads {
    border-top: 1px solid #e5e7eb;
    padding-top: 3rem;
}

    .alternative-downloads h3 {
        text-align: center;
        margin-bottom: 2rem;
    }

.alt-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.alt-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.alt-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.alt-content h4 {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.alt-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Installation guides */
.install-guides {
    background: #f8fafc;
    padding: 60px 0;
}

.guide-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.guide-tab {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .guide-tab.active {
        background: #2563eb;
        color: white;
        border-color: #2563eb;
    }

.guide-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.guide-panel {
    display: none;
}

    .guide-panel.active {
        display: block;
    }

.step {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

    .step:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .step h4 {
        color: #2563eb;
        margin-bottom: 1rem;
    }

    .step ol, .step ul {
        margin-left: 1rem;
    }

    .step li {
        margin-bottom: 0.5rem;
        color: #4b5563;
    }

.code-block {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-family: 'Monaco', 'Menlo', monospace;
    overflow-x: auto;
}

/* System requirements */
.system-requirements {
    padding: 60px 0;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.req-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

    .req-card h3 {
        color: #2563eb;
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .req-card ul {
        list-style: none;
    }

    .req-card li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .req-card li:last-child {
            border-bottom: none;
        }

    .req-card strong {
        color: #1e293b;
        min-width: 100px;
    }

/* Support page styles */
.support-page .support-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 0 80px 0;
}

.support-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quick-help {
    padding: 80px 0;
}

.quick-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.help-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

    .help-card:hover {
        transform: translateY(-5px);
    }

.help-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    background: #f8fafc;
    padding: 80px 0;
}

.faq-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-category {
    background: white;
    border: 2px solid #e7e5f1;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

    .faq-category:hover {
        border-color: #2563eb;
    }

    .faq-category.active {
        background: #2563eb;
        color: white;
        border-color: #2563eb;
    }

.faq-group {
    display: none;
}

    .faq-group.active {
        display: block;
    }

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
    font-size: 1.1rem;
    color: #1e293b;
    position: relative;
}

    .faq-question::after {
        content: '+';
        position: absolute;
        right: 1.5rem;
        font-size: 1.5rem;
        font-weight: bold;
        color: #2563eb;
    }

    .faq-question.active::after {
        content: '-';
    }

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: none;
}

    .faq-answer.active {
        display: block;
    }

    .faq-answer ul, .faq-answer ol {
        margin-left: 1rem;
    }

    .faq-answer li {
        margin-bottom: 0.5rem;
    }

/* Getting started guide */
.getting-started {
    padding: 80px 0;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    background: #2563eb;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.step-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Contact support */
.contact-support {
    background: #f8fafc;
    padding: 60px 0;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #e5e7eb;
}

/* Privacy page styles */
.privacy-page .privacy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 0 80px 0;
}

.privacy-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.last-updated {
    font-style: italic;
    opacity: 0.8;
    color: inherit;
}

.privacy-content {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-summary {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.summary-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.summary-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.summary-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.summary-point h3 {
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 1rem;
}

.summary-point p {
    font-size: 0.9rem;
    margin: 0;
}

.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

    .privacy-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .privacy-section h2 {
        color: #1e293b;
        margin-bottom: 1rem;
    }

    .privacy-section ul {
        margin-left: 1rem;
    }

    .privacy-section li {
        margin-bottom: 0.5rem;
    }

.privacy-footer {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.privacy-cta h2 {
    margin-bottom: 1rem;
}

.privacy-cta p {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #60a5fa;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

        .footer-section ul li a {
            color: #d1d5db;
            text-decoration: none;
            transition: color 0.2s ease;
        }

            .footer-section ul li a:hover {
                color: #60a5fa;
            }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Responsive design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }

    .hero-text h2 {
        font-size: 3rem;
    }

    .open-source-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .open-source-stats {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .guide-tabs {
        flex-direction: column;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .guide-steps {
        grid-template-columns: 1fr;
    }

    .faq-categories {
        flex-direction: column;
        align-items: center;
    }

    .summary-points {
        grid-template-columns: 1fr;
    }

    .open-source-stats {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2rem;
    }

    .download-hero h1,
    .support-hero h1,
    .privacy-hero h1 {
        font-size: 2rem;
    }

    .feature-card,
    .download-card,
    .help-card {
        padding: 1.5rem;
    }

    .platform-badges {
        justify-content: center;
    }

    .badge {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 0;
    }

    .guide-content {
        padding: 1rem;
    }

    .privacy-content {
        padding: 60px 0;
    }
}

/* Print styles */
@media print {
    .nav-container,
    .mobile-menu-btn,
    .hero-buttons,
    .cta-buttons,
    .download-btn,
    footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero {
        background: none;
        color: black;
        padding: 2rem 0;
    }

    .hero-text h2 {
        color: black;
        font-size: 2rem;
    }

    section {
        padding: 2rem 0;
        break-inside: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border-width: 3px;
    }

    .feature-card,
    .download-card {
        border-width: 2px;
        border-color: #000;
    }

    .nav-links a:hover,
    .nav-links a.active {
        text-decoration: underline;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support (for future use) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here when needed */
}

/* Store option styles */
.store-option {
    margin: 1rem 0;
    padding-top: 1rem;
}

.download-option {
    margin: 2rem 0; /* Increased top margin from 1.5rem to 3rem */
    padding-top: 1.5rem; /* Added more padding */
    border-top: 1px solid #e5e7eb;
}

.store-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    text-align: center;
}

.download-label {
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
}

.store-btn {
    width: 100%;
    font-size: 0.95rem;
}

.store-option.coming-soon {
    opacity: 0.6;
}

.store-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Microsoft Store badge styling */
.microsoft-store-badge {
    display: inline-block;
    transition: transform 0.2s ease;
    text-decoration: none;
}

    .microsoft-store-badge:hover {
        transform: translateY(-2px);
    }

.store-badge-img {
    height: 60px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .store-badge-img {
        height: 50px;
    }
}

/* Google Play badge styling */
.google-play-badge {
    display: inline-block;
    transition: transform 0.2s ease;
    text-decoration: none;
}

    .google-play-badge:hover {
        transform: translateY(-2px);
    }

/* Make sure store badge images are consistent */
.store-badge-img {
    height: 60px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .store-badge-img {
        height: 50px;
    }
}