.seo-analyzer-container {
    max-width: 1200px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.analyzer-form {
    text-align: center;
    margin-bottom: 3rem;
}

.analyzer-form h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

#seo-url {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#seo-url:focus {
    outline: none;
    border-color: #4299e1;
}

#analyze-btn {
    padding: 0rem 2rem;
    background-color: #4299e1;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#analyze-btn:hover {
    background-color: #3182ce;
}

.score-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.score-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.score-card:hover {
    transform: translateY(-5px);
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: conic-gradient(#4299e1 var(--percentage), #e2e8f0 var(--percentage));
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 50%;
}

.score-value {
    position: relative;
    font-size: 2.5rem;
    font-weight: bold;
    color: #2d3748;
}

.score-symbol {
    position: relative;
    font-size: 1.25rem;
    color: #2d3748;
    margin-left: 2px;
}

.score-card h3 {
    color: #2d3748;
    font-size: 1.5rem;
    margin: 1rem 0;
}

.score-card p {
    color: #718096;
    font-size: 1rem;
    line-height: 1.5;
}

/* Product Recommendations Styles */
.seo-product-recommendations {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.seo-product-recommendations h3 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.product-card {
    flex: 0 0 auto;
    width: 250px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    max-width: 100%;
    height: auto;
}

.product-card h4 {
    color: #2d3748;
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.product-card .price {
    color: #4299e1;
    font-weight: bold;
    margin: 0.5rem 0;
}

.product-card .button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #4299e1;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.product-card .button:hover {
    background: #3182ce;
}

.products-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Pour Firefox */
    -ms-overflow-style: none; /* Pour IE et Edge */
    gap: 20px;
    padding: 20px 0;
}

.products-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #f5f5f5 !important;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn:hover {
    background: black !important;
}