/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-section: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --radius-lg: 12px;
    --container-max: 1200px;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Base */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section__subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.text-primary {
    color: var(--primary-color);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn--primary {
    background: var(--primary-color);
    color: white;
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav__brand h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__toggle {
    display: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__mockup {
    background: var(--primary-color);
    height: 400px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.hero__mockup i {
    font-size: 4rem;
    color: white;
}

/* Features */
.features {
    padding: 5rem 0;
    background: var(--bg-color);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature__card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature__icon i {
    font-size: 1.5rem;
    color: white;
}

.feature__card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature__card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Benefits */
.benefits {
    padding: 5rem 0;
    background: var(--bg-section);
}

.benefits__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit__item i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
    min-width: 20px;
}

.benefit__item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.benefit__item p {
    color: var(--text-light);
}

.stats__card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-weight: 500;
}

/* Pricing */
.pricing {
    padding: 5rem 0;
    background: var(--bg-color);
}

.pricing__card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.pricing__header {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing__header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
}

.period {
    font-size: 1rem;
    opacity: 0.9;
}

.pricing__note {
    font-size: 0.9rem;
    opacity: 0.9;
}

.pricing__features {
    padding: 2rem;
}

.pricing__features h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pricing__features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.pricing__features i {
    color: var(--primary-color);
    font-size: 1rem;
}

.pricing__cta {
    padding: 0 2rem 2rem;
}

.pricing__guarantee {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Technical */
.technical {
    padding: 5rem 0;
    background: var(--bg-section);
}

.technical__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.technical__item {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.technical__item h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.technical__item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.technical__item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: var(--bg-color);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact__info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact__info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.contact__item i {
    color: var(--primary-color);
    font-size: 1.125rem;
    min-width: 20px;
}

/* Form */
.contact__form {
    background: var(--bg-section);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact__form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: center;
}

.form__group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-color);
    transition: border-color 0.3s ease;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form__group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--bg-color);
    padding: 0 0.25rem;
}

.form__group textarea + label {
    top: 1rem;
    transform: none;
}

.form__group input:focus + label,
.form__group input:not(:placeholder-shown) + label,
.form__group select:focus + label,
.form__group select:not([value=""]) + label,
.form__group textarea:focus + label,
.form__group textarea:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.875rem;
    color: var(--primary-color);
}

.form__privacy {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer__brand p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer__column h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer__column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__column a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__column a:hover {
    color: var(--primary-color);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .nav__menu {
        display: none;
    }
    
    .nav__toggle {
        display: block;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    .benefits__content {
        grid-template-columns: 1fr;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .features__grid {
        grid-template-columns: 1fr;
    }
    
    .technical__grid {
        grid-template-columns: 1fr;
    }
    
    .contact__form {
        padding: 1.5rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature__card,
.benefit__item,
.technical__item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estados hover mejorados */
.feature__card:hover .feature__icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.btn:active {
    transform: translateY(0);
}