:root {
    --primary-color: #4F46E5; /* Indigo-600 */
    --secondary-color: #10B981; /* Emerald-500 */
    --background-color: #F9FAFB; /* Gray-50 */
    --surface-color: #FFFFFF;
    --text-primary: #1F2937; /* Gray-800 */
    --text-secondary: #6B7280; /* Gray-500 */
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Botones --- */
.btn {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    padding: 12px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--surface-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background-color: var(--surface-color);
    color: var(--primary-color);
    border: 1px solid #E5E7EB; /* Gray-200 */
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* --- Navbar --- */
.navbar {
    background: var(--surface-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
}

.navbar nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar nav a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--background-color);
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- Secciones Generales --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Features Section --- */
.features {
    padding: 6rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB; /* Gray-200 */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--surface-color);
    margin-bottom: 1.5rem;
}

.feature-icon i {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* --- About Us Section --- */
.about-us {
    padding: 6rem 0;
    background-color: var(--surface-color);
}

.about-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.about-us-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.about-us-text .section-title {
    text-align: left;
}

.about-us-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* --- CTA Section --- */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(45deg, var(--primary-color), #312E81);
    color: var(--surface-color);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background-color: var(--surface-color);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

/* --- Footer --- */
.footer {
    background-color: #111827; /* Gray-900 */
    color: var(--text-secondary);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about .logo {
    color: var(--surface-color);
}

.footer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--surface-color);
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--surface-color);
}

.footer-social a {
    color: var(--text-secondary);
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--surface-color);
}

.footer-bottom {
    border-top: 1px solid #374151; /* Gray-700 */
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .navbar .container { flex-direction: column; gap: 1rem; }
    .navbar nav ul { gap: 1.5rem; }
    .about-us-content { grid-template-columns: 1fr; }
    .about-us-image { order: -1; }
}