/* --- Variables y Estilos Globales (Paleta Monocromática) --- */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --background-light: #f5f5f5;
    --border-color: #e0e0e0;
    --text-muted: #6c757d;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 10px;
    --transition: all 0.3s ease-in-out;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--background-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

h1, h2, h3, h4 {
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.75rem; margin-bottom: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-muted); max-width: 65ch; }

/* --- Botones con Iconos --- */
.btn {
    display: inline-flex; /* Cambiado a inline-flex para alinear icono y texto */
    align-items: center;
    justify-content: center;
    gap: 0.6rem; /* Espacio entre el icono y el texto */
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    text-align: center;
}

/* Ajuste del tamaño del icono dentro de los botones */
.btn i.feather {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* --- Header --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-image { height: 40px; width: auto; }
.logo-text { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }

.main-nav { display: flex; gap: 35px; align-items: center; }
.main-nav a { text-decoration: none; color: #333; font-weight: 500; position: relative; padding: 5px 0; transition: color 0.3s ease; }
.main-nav a:not(.btn):hover { color: var(--primary-color); }

/* Corrección para el botón en la navegación */
.main-nav a.btn-primary { color: var(--secondary-color); }
.main-nav a.btn-primary:hover { color: var(--secondary-color); }

.mobile-nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* --- Hero Section --- */
.hero { text-align: center; padding: 120px 0; position: relative; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.7; }
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 { margin: 0 auto 1.5rem; }
.hero p { margin: 0 auto 2.5rem; font-size: 1.15rem; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* --- Plans Section --- */
.plans-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.plan { background-color: var(--secondary-color); border-radius: var(--border-radius); box-shadow: var(--shadow); padding: 40px; transition: var(--transition); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.plan:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.plan.plan-featured { border: 2px solid var(--primary-color); transform: scale(1.05); }
.plan-header { text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.plan-name { font-size: 1.5rem; }
.plan-price { font-size: 3rem; font-weight: 700; color: var(--primary-color); }
.plan-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }

.plan-features { list-style-type: none; margin-bottom: 40px; flex-grow: 1; }
.plan-features li { 
    margin-bottom: 15px; 
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Espacio entre icono y texto de la característica */
}
.plan-features li.disabled { color: var(--text-muted); }
.plan-features li i.feather { width: 20px; height: 20px; }
.plan-features li i.feather-check { color: #28a745; } /* Verde para el check */
.plan-features li.disabled i.feather-x { color: var(--text-muted); }

.plan .btn { margin-top: auto; }

/* --- Models & CTA & Footer (sin cambios significativos, pero incluidos por completitud) --- */
.model-category { margin-bottom: 60px; }
.models-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.model-card { background-color: var(--secondary-color); border-radius: var(--border-radius); padding: 30px; transition: var(--transition); border: 1px solid var(--border-color); }
.model-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary-color); }
.model-name { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; color: var(--primary-color); }
.cta-section { text-align: center; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { max-width: 600px; margin: 0 auto 2rem; }
.main-footer-section { background-color: var(--primary-color); color: var(--background-light); padding: 60px 0 30px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-section h3 { color: var(--secondary-color); margin-bottom: 20px; }
.footer-section p { color: var(--border-color); }
.footer-links { list-style-type: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--border-color); text-decoration: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-links a:hover { color: var(--secondary-color); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid #333; color: var(--text-muted); font-size: 0.9rem; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .plans-container { grid-template-columns: 1fr; }
    .plan.plan-featured { transform: scale(1); }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-nav-toggle { display: block; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    section { padding: 80px 0; }
    .hero-buttons { flex-direction: column; }
}
