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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.language-selector {
    display: flex;
    justify-content: flex-end;
}

#language-select {
    padding: 10px 16px;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    background: white;
    color: #333;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    outline: none;
}

#language-select:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* RTL support for Arabic */
[dir="rtl"] .extension-card {
    text-align: right;
}

[dir="rtl"] .button-group {
    justify-content: flex-end;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.extension-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.extension-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 16px;
}

.extension-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.install-box {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
}

.install-label {
    font-size: 16px;
    color: #495057;
    margin-bottom: 16px;
    font-weight: 600;
}

.button-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.install-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

.install-btn.edge {
    background: #0078d4;
    color: white;
}

.install-btn.whale {
    background: #00c3a9;
    color: white;
}

@media (max-width: 600px) {
    .extension-card {
        padding: 24px;
    }

    .extension-title {
        font-size: 22px;
    }

    .extension-description {
        font-size: 16px;
    }

    .button-group {
        flex-direction: column;
    }

    .install-btn {
        text-align: center;
    }
}
