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

body {
    font-family: 'Roboto', sans-serif;
    color: #003366;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), 
                url('http://static.photos/technology/1200x630/1') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 8rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-verde {
    display: inline-block;
    background-color: #00CC66;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 204, 102, 0.3);
}

.btn-verde:hover {
    background-color: #00b359;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 204, 102, 0.4);
}

/* Tool Cards */
.tool-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.tool-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.tool-content {
    padding: 1.5rem;
}

.tool-content h3 {
    margin-bottom: 0.5rem;
}

.rating {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.price {
    font-weight: bold;
    color: #00CC66;
    margin: 0.5rem 0;
}

.features {
    margin: 1rem 0;
    font-size: 0.9rem;
}

.features li {
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1.2rem;
}

.features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #00CC66;
}

/* Testimonios */
.testimonio-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    color: #003366;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.testimonio-card .rating {
    margin-bottom: 1rem;
}

.testimonio-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author h4 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.author small {
    color: #666;
    font-size: 0.8rem;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 30px 0 0 30px;
}

.newsletter-form button {
    border-radius: 0 30px 30px 0;
    border: none;
}
/* Rating Component */
.rating-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.heading {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.checked {
    color: orange;
}

.rating-summary {
    margin: 1rem 0;
    color: #666;
}

.rating-row {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.side {
    width: 15%;
    text-align: right;
    padding-right: 1rem;
}

.middle {
    width: 70%;
}

.bar-container {
    width: 100%;
    background-color: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
}

.bar {
    height: 18px;
}

.bar-5 { width: 60%; background-color: #4CAF50; }
.bar-4 { width: 30%; background-color: #2196F3; }
.bar-3 { width: 10%; background-color: #00bcd4; }
.bar-2 { width: 4%; background-color: #ff9800; }
.bar-1 { width: 1%; background-color: #f44336; }

.side.right {
    width: 15%;
    text-align: left;
    padding-left: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 30px;
    }
    
    .newsletter-form button {
        margin-top: 0.5rem;
    }
}