﻿:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --accent-color: #f1c40f;
    --accent-dark: #f39c12;
    --secondary-color: #f8f9fa;
    --text-color: #2c3e50;
    --light-gray: #ecf0f1;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

    header.scrolled {
        padding: 0.5rem 0;
        background-color: rgba(255, 255, 255, 0.98);
    }

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    width: 5.2rem;
    height: 5.2rem;
    position: relative;
}

    .logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

    .nav-links li {
        position: relative;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 600;
        font-size: 1.05rem;
        transition: all 0.3s ease;
        padding: 0.5rem 0;
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s ease;
            border-radius: 2px;
        }

        .nav-links a:hover {
            color: var(--primary-dark);
        }

            .nav-links a:hover::after {
                transform: scaleX(1);
                transform-origin: left;
            }

        .nav-links a.active {
            color: var(--primary-color);
        }

            .nav-links a.active::after {
                transform: scaleX(1);
            }

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        padding: 2rem;
        gap: 2rem;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

        .nav-links.active {
            right: 0;
        }

        .nav-links li {
            width: 100%;
        }

        .nav-links a {
            display: block;
            padding: 0.8rem 0;
            font-size: 1.2rem;
        }
}

/* Hero Section - New Design */
#hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a2a6c, #2ecc71, #f1c40f);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    overflow: hidden;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
}

.hero-content {
    flex: 1;
    color: var(--white);
    max-width: 600px;
    position: relative;
    z-index: 3;
}

.hero-tagline {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-logo {
    width: 120px;
    height: auto;
    margin: 1rem 0;
    display: block;
}

.hero-content h1 {
    display: none;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 500px;
    color: #ffffff;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

    .hero-feature i {
        color: var(--accent-color);
        font-size: 1.2rem;
    }

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.cta-button.primary-cta {
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: bold;
}

    .cta-button.primary-cta:hover {
        background-color: var(--accent-dark);
        color: var(--white);
    }

.cta-button.secondary-cta {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

    .cta-button.secondary-cta:hover {
        background-color: var(--white);
        color: var(--text-color);
    }

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 1rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    max-width: 700px;
    margin: 0 auto;
}

.hero-main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 350px;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
    object-fit: contain;
}

.hero-floating-image {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    max-width: 250px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

    .hero-floating-image.dashboard {
        top: 10%;
        right: 0;
        z-index: 3;
        animation: float 6s ease-in-out infinite;
        max-width: 200px;
        max-height: 120px;
    }

    .hero-floating-image.calendar {
        bottom: 10%;
        left: 0;
        z-index: 3;
        animation: float 8s ease-in-out infinite;
        max-width: 180px;
        max-height: 110px;
    }

.hero-decoration-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.3) 0%, rgba(46, 204, 113, 0.1) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: pulse-slow 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-slow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
}

/* Features Section */
#caracteristicas {
    padding: 5rem 2rem;
    background-color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .feature-card:hover {
        transform: translateY(-10px);
        border-bottom: 3px solid var(--accent-color);
    }

    .feature-card i {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

/* Benefits Section */
#beneficios {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.benefit {
    text-align: center;
    padding: 2rem;
}

    .benefit i {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

/* Contact Section */
#contacto {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info {
    padding: 3rem;
    background-color: var(--white);
}

    .contact-info h3 {
        font-size: 1.8rem;
        color: var(--text-color);
        margin-bottom: 1.5rem;
    }

    .contact-info p {
        margin-bottom: 1rem;
        margin-top: 1rem;
        line-height: 1.6;
    }

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .contact-item i {
        color: var(--primary-color);
        font-size: 1.2rem;
    }

.contact-form {
    padding: 3rem;
    background-color: var(--secondary-color);
}

    .contact-form form {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 1rem;
        border: 1px solid var(--light-gray);
        border-radius: 5px;
        font-size: 1rem;
        background-color: var(--white);
        width: 100%;
    }

        .contact-form input:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
        }

        .contact-form select:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
        }

        .contact-form textarea:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
        }
        .contact-form textarea {
            min-height: 150px;
            resize: vertical;
        }

    .contact-form button {
        margin-top: 1rem;
        align-self: flex-start;
    }

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 4rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

    .social-links a {
        color: var(--white);
        font-size: 1.5rem;
        transition: color 0.3s ease;
    }

        .social-links a:hover {
            color: var(--primary-color);
        }

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* General Styles */
h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Pricing Section */
#planes {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .pricing-card.popular {
        border: 2px solid var(--primary-color);
        transform: scale(1.05);
    }

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.2);
}

.pricing-header {
    margin-bottom: 2rem;
}

    .pricing-header h3 {
        font-size: 1.8rem;
        color: var(--text-color);
        margin-bottom: 1rem;
    }

.price {
    color: var(--primary-color);
}

    .price .amount {
        font-size: 3rem;
        font-weight: bold;
    }

    .price .period {
        font-size: 1.2rem;
        color: var(--text-color);
    }

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

    .pricing-features li {
        margin-bottom: 0.8rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .pricing-features i {
        color: var(--primary-color);
    }

/* Accent CTA Button */
.pricing-card.popular .cta-button {
    background-color: var(--accent-color);
    color: var(--text-color);
}

    .pricing-card.popular .cta-button:hover {
        background-color: var(--accent-dark);
        color: var(--white);
    }

/* Accent Price */
.pricing-card.popular .price {
    color: var(--accent-color);
}

/* General Button Styles */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        background-color: var(--primary-dark);
    }

/* Responsive Updates for Hero Section */
@media (max-width: 1200px) {
    .hero-container {
        padding: 6rem 2rem;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding-top: 8rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-features {
        max-width: 400px;
        margin: 0 auto 2rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-image-container {
        height: 350px;
    }

    .hero-floating-image.dashboard {
        width: 200px;
        height: auto;
    }

    .hero-floating-image.calendar {
        width: 150px;
        height: auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-form button {
        align-self: center;
        width: 100%;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-image-container {
        height: 300px;
    }
}
