/* Variables de color y tipografía */
:root {
    --bg-color: #faf8f5; /* Tono papel muy sutil */
    --text-color: #1a1a1a; /* Negro suave para evitar fatiga visual */
    --card-bg: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lora', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 800px;
    padding: 60px 20px;
    text-align: center;
}

h1, h2, .author {
    font-family: var(--font-heading);
}

.hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 40px;
    font-weight: 600;
}

.promise {
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.zen-warning {
    margin-top: 25px;
    border-left: 3px solid var(--text-color);
    padding-left: 20px;
    text-align: left;
    color: #444;
}

.teasers {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

/* En ordenadores, pone las tarjetas una al lado de otra */
@media (min-width: 768px) {
    .teasers {
        flex-direction: row;
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
}

.card {
    background: var(--card-bg);
    padding: 30px 20px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    flex: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card .author {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.card p {
    font-size: 1rem;
    font-style: italic;
    color: #333;
}

.opt-in {
    background: transparent;
    padding: 20px;
}

.opt-in h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.opt-in p {
    margin-bottom: 30px;
    color: #555;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.mailerlite-embed-wrapper {
    margin: 0 auto;
    max-width: 400px;
}


/* Efecto de aparición cinematográfica */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero, .promise, .teasers, .opt-in {
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
}

/* Retrasamos ligeramente cada bloque para que aparezcan en cascada */
.promise { animation-delay: 0.3s; }
.teasers { animation-delay: 0.6s; }
.opt-in { animation-delay: 0.9s; }