/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #7209b7;
    --accent: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --success: #4cc9f0;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --light: #121212;
    --dark: #f8f9fa;
    --gray-light: #2d2d2d;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 0;
    background-color: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

[data-theme="dark"] .header {
    background-color: rgba(18, 18, 18, 0.95);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
}

.logo-highlight {
    color: var(--primary);
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.btn {
    padding: 10px 20px;
    border-radius: var(--border-radius);
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-light);
    color: var(--dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero */
.hero {
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Aumentado el peso de la izquierda */
    gap: 60px;
    align-items: start; /* Alineado arriba para mejor flujo */
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.video-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    background: #000;
}

video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.video-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.video-day {
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px; /* Reducido un poco */
    margin-bottom: 20px;
}

.hero-title-small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.verse-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border-left: 5px solid var(--primary);
}

[data-theme="dark"] .verse-card {
    background: var(--gray-light);
}

.verse-icon {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.verse-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--dark);
}

.verse-reference {
    font-size: 16px;
    color: var(--gray);
    font-style: italic;
    text-align: right;
}

/* Email Capture */
.email-capture {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
}

[data-theme="dark"] .email-capture {
    background: linear-gradient(135deg, #2d2d2d, #1f1f1f);
}

.email-capture h3 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-subtitle {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 14px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .input-group {
        flex-direction: column;
    }
}

input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
}

.form-message {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Counter */
.counter {
    display: flex;
    justify-content: space-between;
    background: white;
    padding: 15px; /* Más compacto */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    gap: 10px;
}

[data-theme="dark"] .counter {
    background: var(--gray-light);
}

.counter-item {
    text-align: center;
    flex: 1;
}

.counter-number {
    font-size: 24px; /* Un poco más pequeño y elegante */
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-label {
    font-size: 14px;
    color: var(--gray);
    margin-top: 5px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-dark {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 60px;
    font-size: 18px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

.step {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

[data-theme="dark"] .step {
    background: var(--gray-light);
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Days Grid */
.days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.day-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 25px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.day-card:hover:not(.locked) {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.day-card.active {
    border-color: var(--accent);
    background: rgba(247, 37, 133, 0.1);
}

.day-card.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.day-number {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--success);
}

.day-verse {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.day-locked, .day-current, .day-viewed {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.day-current {
    color: var(--accent);
}

.day-viewed {
    color: var(--success);
}

/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

[data-theme="dark"] .footer {
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-description {
    opacity: 0.8;
    margin-top: 15px;
    line-height: 1.8;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.beta-badge {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.footer-beta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Botón dentro de las cards de la serie */
.btn-ver-dia {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.day-card.active .btn-ver-dia {
    background: var(--accent);
}

.day-card.clickable:hover .btn-ver-dia {
    filter: brightness(1.2);
}