/* ========== DOWNLOAD PAGE OVERRIDES ========== */
/* Remove outer card effect from page-content only on download page */
.download-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.download-content::before {
    display: none !important;
}

/* Override borders.css forcing borders on page-content - highest priority */
.page-container .download-content,
.download-content,
div.download-content {
    border: none !important;
    border-color: transparent !important;
}

.download-content:hover,
.download-content:focus,
.download-content:active {
    border: none !important;
    border-color: transparent !important;
}

/* ========== DOWNLOAD SECTION ========== */
.download-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem 0 0 0;
    position: relative;
}

.download-hero {
    position: relative;
    z-index: 2;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #48bb78;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.download-subtitle {
    font-size: 1.125rem;
    color: #a0aec0;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.download-options {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.stores-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.store-card {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border: 1px solid #2d3748 !important;
    border-color: #2d3748 !important;
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
}

.store-card.chrome-store {
    border-color: #2d3748;
    box-shadow: 0 5px 15px rgba(74, 85, 104, 0.2);
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(72, 187, 120, 0.3);
    border-color: #2d3748 !important;
}

.store-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.store-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.chrome-store .store-icon {
    background-image: url('/static/assets/optimized/chrome.webp'), url('/static/assets/chrome.png');
    background-color: #ffffff;
}

.firefox-store .store-icon {
    background-image: url('/static/assets/optimized/firefox.webp'), url('/static/assets/firefox.png');
    background-color: #ffffff;
}

.store-icon svg {
    display: none;
}

.store-card:hover .store-icon {
    transform: scale(1.05);
}

.store-icon svg {
    width: 24px;
    height: 24px;
}

.store-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #48bb78;
    margin-bottom: 0.5rem;
}

.store-description {
    font-size: 0.875rem;
    color: #a0aec0;
    opacity: 0.8;
}

.store-features {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.store-action {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.store-info {
    margin-top: 0.75rem;
    text-align: center;
}

.store-info small {
    color: #a0aec0;
    font-size: 0.75rem;
}

.help-section {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.help-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.help-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-card {
    background: #2d3748;
    border: 1px solid #2d3748;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.download-icon {
    margin-bottom: 1rem;
}

.chrome-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    filter: brightness(1.2);
}

.download-actions {
    margin-top: 2rem;
}

.download-info {
    margin-top: 1rem;
    color: #cbd5e0;
}

.steps-grid,
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card,
.support-card {
    background: #2d3748;
    border: 1px solid #2d3748;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #48bb78;
    color: #1a202c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.step-card h3,
.support-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #48bb78;
    margin-bottom: 1rem;
}

.requirement-card ul {
    list-style: none;
    text-align: left;
}

.requirement-card li {
    padding: 0.5rem 0;
    color: #cbd5e0;
    border-bottom: 1px solid #2d3748;
}

.support-grid {
    margin-top: 2rem;
}

.support-card {
    transition: all 0.2s;
}

.support-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.2);
    border-color: #48bb78;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stores-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stores-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .store-card {
        padding: 1.25rem;
    }
    
    .help-options {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
} 