@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- VARIABLES GLOBALES Y ESTILO BASE --- */
:root {
  --text-primary: #1D2A3E;
  --text-secondary: #5A6474;
  --primary-color: #6C63FF;
  --primary-light: #eef2ff;
  --background-gradient: linear-gradient(135deg, #f5f7fa 0%, #eef2ff 100%);
  --card-background: #ffffff;
  --border-color: #e5e7eb;
  --font-family: 'Poppins', sans-serif;
}

body { margin: 0; font-family: var(--font-family); background: var(--background-gradient); color: var(--text-primary); }
.page-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; }

.main-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.logo-container { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.logo { height: 40px; }
.brand-name { font-size: 1.5rem; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 1rem; }
.main-nav a { text-decoration: none; color: var(--text-secondary); font-weight: 500; transition: color 0.3s; }
.main-nav a:hover { color: var(--text-primary); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

.btn { padding: 0.7rem 1.4rem; border-radius: 8px; text-decoration: none; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s ease; display: inline-block; }
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4); }
.btn-secondary { background-color: transparent; color: var(--text-primary); }
.btn-secondary:hover { background-color: var(--primary-light); }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

.hero-section { text-align: center; padding: 4rem 0; }
.hero-content .hero-subtitle { color: var(--primary-color); font-weight: 700; letter-spacing: 1px; }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin: 1rem auto; max-width: 800px; }
.hero-content p { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 2rem auto; }
.hero-image { margin-top: 3rem; }
.hero-image img { max-width: 100%; border-radius: 12px; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15); }

.features-section { text-align: center; padding: 4rem 0; }
.features-section h2 { font-size: 2.5rem; margin-bottom: 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-card { background: var(--card-background); padding: 2rem; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.2rem; margin: 0 0 0.5rem 0; }
.feature-card p { color: var(--text-secondary); line-height: 1.6; }

.cta-section { text-align: center; background-color: var(--primary-color); color: white; padding: 4rem 2rem; border-radius: 16px; margin: 4rem 0; }
.cta-section h2 { font-size: 2.2rem; margin: 0 auto 1.5rem auto; max-width: 500px; }
.cta-section .btn-primary { background: white; color: var(--primary-color); }

.main-footer { text-align: center; padding: 2rem 0; color: var(--text-secondary); font-size: 0.9rem; }

@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 80px; right: 2rem; background: white; padding: 1rem; border-radius: 8px; z-index: 100; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
  .main-nav.active { display: flex; }
  .menu-toggle { display: block; }
  .hero-content h1 { font-size: 2.5rem; }
}