/* General */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

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

.section-padding {
    padding: 80px 0;
}

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

h1, h2, h3 {
    color: #1877f2;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 1.1em;
    color: #555;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #1877f2;
    color: white;
}

.btn-primary:hover {
    background-color: #0e62d0;
}

.btn-secondary {
    background-color: #28a745;
    color: white;
}

.btn-secondary:hover {
    background-color: #218838;
}

.btn-light {
    background-color: #f8f9fa;
    color: #1877f2;
    border: 1px solid #1877f2;
}

.btn-light:hover {
    background-color: #e2e6ea;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Header */
.header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: #1877f2;
    text-decoration: none;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav ul li {
    margin-left: 25px;
}

.nav ul li a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

.nav ul li a:hover {
    color: #1877f2;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-item img {
    max-width: 100px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.5em;
    color: #1877f2;
}

/* Pricing Section */
.bg-light {
    background-color: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-item.featured {
    border: 2px solid #1877f2;
    transform: scale(1.03);
}

.pricing-item h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.pricing-item .price {
    font-size: 3em;
    font-weight: bold;
    color: #1877f2;
    margin-bottom: 10px;
}

.pricing-item .price span {
    font-size: 0.5em;
    font-weight: normal;
    color: #555;
}

.pricing-item .save-text {
    color: #28a745;
    font-weight: bold;
    margin-bottom: 20px;
}

.pricing-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-item ul li {
    margin-bottom: 10px;
    color: #555;
}

.pricing-item ul li i {
    color: #28a745;
    margin-right: 10px;
}

.pricing-item .btn {
    margin-top: auto; /* Empuja el botón hacia abajo */
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-item {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-icon {
    font-size: 2em;
    color: #1877f2;
    background-color: #e6f2ff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    font-weight: bold;
}

/* CTA Section */
.bg-primary {
    background-color: #1877f2;
    color: white;
}

.cta h2 {
    color: white;
    font-size: 2.8em;
}

.cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.footer-nav ul li {
    margin-left: 20px;
}

.footer-nav ul li a {
    color: white;
    text-decoration: none;
}

.footer-nav ul li a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }

    .nav ul {
        margin-top: 15px;
    }

    .nav ul li {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .feature-grid, .pricing-grid, .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
    }

    .footer-nav ul {
        margin-top: 15px;
    }
}
