/* --- Variables y Estilos Globales --- */
:root {
    --primary-color: #4a90e2;
    --primary-hover: #357abd;
    --secondary-color: #50e3c2;
    --background-color: #ffffff;
    --light-bg-color: #f7f9fc;
    --text-color: #333;
    --text-light: #6c757d;
    --border-radius: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --gradient-primary: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    --gradient-secondary: linear-gradient(135deg, #50e3c2 0%, #3bb99d 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.main-header {
    padding: 1.5rem 0;
    background-color: var(--background-color);
    border-bottom: 1px solid #eaecef;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

/* --- Botones --- */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* --- Hero Section --- */
.hero {
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1, .hero-content h2 {
    text-wrap: balance;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.highlight-free {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1.5rem auto 2.5rem auto;
    color: var(--text-light);
}

.hero-image {
    margin-top: 4rem;
}

/* --- Features Section --- */
.features {
    padding: 6rem 0;
    background-color: var(--light-bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--background-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #eaecef;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #4a90e220, #357abd10);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* --- CTA Section --- */
.cta {
    padding: 6rem 0;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-hover);
}

/* --- Footer --- */
.main-footer {
    padding: 2rem 0;
    text-align: center;
    background-color: var(--light-bg-color);
    border-top: 1px solid #eaecef;
    color: var(--text-light);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2, .cta h2 {
        font-size: 2rem;
    }

    .main-header .container {
        flex-direction: column;
        gap: 1rem;
    }
}