:root {
    --bg-light: #fafafa;
    --bg-dark: #0a0a0a;
    --text-light: #333333;
    --text-dark: #f0f0f0;
    --accent: #3a3a3a;
    --accent-light: #d4d4d4;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
    line-height: 1.6;
    transition: var(--transition);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Header minimalista */
header {
    padding: 2rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-light);
    text-decoration: none;
}

.dark-mode .logo {
    color: var(--text-dark);
}

/* Toggle de modo */
.mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--accent-light);
    transition: var(--transition);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Hero section minimalista */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 0 4rem;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.dark-mode .hero-title {
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.8;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.3s;
}

.btn-login {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--text-light);
    color: var(--bg-light);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid var(--text-light);
    transition: var(--transition);
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.6s;
}

.dark-mode .btn-login {
    background-color: var(--text-dark);
    color: var(--bg-dark);
    border: 1px solid var(--text-dark);
}

.btn-login:hover {
    background-color: transparent;
    color: var(--text-light);
}

.dark-mode .btn-login:hover {
    color: var(--text-dark);
    background-color: transparent;
}

/* Sección de características */
.features {
    padding: 6rem 0;
    background-color: rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.dark-mode .features {
    background-color: rgba(255, 255, 255, 0.02);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

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

.feature-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    background-color: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dark-mode .feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: var(--accent);
}

.dark-mode .feature-icon {
    color: var(--accent-light);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-desc {
    opacity: 0.8;
    line-height: 1.6;
}

/* Carrusel con imágenes */
.carousel-section {
    padding: 6rem 0;
    background-color: rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.dark-mode .carousel-section {
    background-color: rgba(255, 255, 255, 0.03);
}

.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.dark-mode .carousel {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.carousel-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.carousel-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.carousel-text {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 1.1rem;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    gap: 0.8rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

/* Footer minimalista */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.dark-mode footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .carousel {
        height: 450px;
    }

    .carousel-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .carousel {
        height: 400px;
    }

    .carousel-title {
        font-size: 1.6rem;
    }

    .carousel-text {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn-login {
        padding: 0.8rem 2rem;
    }

    .carousel {
        height: 380px;
    }

    .carousel-content {
        padding: 0 1rem;
    }

    .carousel-title {
        font-size: 1.4rem;
    }

    .carousel-text {
        font-size: 0.9rem;
    }
}