/* css/routine-preview.css */
/* --- Daily Immersion System Preview Section (for index.html) --- */
.routine-preview-section {
    margin-top: 0; /* This was to touch the section above (Pathway) */
    padding: 80px 0 80px; /* Top padding is 80px, RIGHT AND BOTTOM PADDING ARE 0 */
                       /* THIS IS THE KEY CHANGE for the space BELOW this section */
    background-image: linear-gradient(145deg,
        var(--primary-blue, #003087) 0%,
        var(--midnight-blue, #182848) 40%,
        var(--primary-red, #C8102E) 80%,
        var(--deep-space-blue, #0a0f1a) 100%);
    color: var(--light-text, #f0f4f8);
    position: relative;
    z-index: 5;
    overflow: hidden;
    /* margin-bottom: 0; /* Explicitly ensure no bottom margin from this section */
}

/* Optional: Add a subtle pattern overlay */
.routine-preview-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M10 0h12v12h12v14H22V12H10V0zM20 14h12v12H20V14zM0 14h10v12H0V14z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5; /* Adjust opacity */
    z-index: 1;
}

.routine-preview-section .container {
    position: relative; /* To sit above the ::before pseudo-element */
    z-index: 2;
    text-align: center;
}

.routine-eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-yellow, #FFD700);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.section-title-dark { /* For dark backgrounds */
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--light-text, #f0f4f8); /* White or light text */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.section-title-dark .highlight-accent {
    color: var(--accent-yellow, #FFD700);
}

.section-subtitle-dark { /* For dark backgrounds */
    text-align: center;
    font-size: 1.15rem;
    color: #d0d8e0; /* Lighter grey for subtitle */
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.routine-preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: left;
}
@media (min-width: 992px) {
    .routine-preview-content {
        flex-direction: row;
        gap: 3.5rem;
    }
}

.routine-preview-text {
    flex: 1.2; /* Give text a bit more space */
}
.routine-preview-text h3 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: var(--accent-yellow, #FFD700);
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 0.5rem;
}
.routine-preview-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}
.routine-preview-text ul li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: #e0e6eb;
    display: flex;
    align-items: flex-start;
}
.routine-preview-text ul li i {
    color: var(--accent-yellow, #FFD700);
    margin-right: 12px;
    font-size: 1.1em;
    width: 20px; /* Ensure alignment */
    margin-top: 3px;
}

.routine-preview-cta {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 1rem;
}
.btn-routine-cta { /* Main CTA button for this section */
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    background-color: var(--accent-yellow, #FFD700) !important; /* Override general btn-primary if needed */
    color: var(--deep-space-blue, #0a0f1a) !important;
    border-color: var(--accent-yellow, #FFD700) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.btn-routine-cta:hover {
    background-color: #e6c300 !important; /* Darker yellow */
    transform: translateY(-3px) scale(1.02);
}
.btn-routine-cta-alt { /* Secondary button for video */
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    border: 2px solid var(--accent-yellow, #FFD700) !important;
    color: var(--accent-yellow, #FFD700) !important;
    background-color: transparent !important;
}
.btn-routine-cta-alt:hover {
    background-color: var(--accent-yellow, #FFD700) !important;
    color: var(--deep-space-blue, #0a0f1a) !important;
    transform: translateY(-3px);
}


.routine-preview-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}
.routine-preview-visual img {
    max-width: 100%;
    width: 380px; /* Adjust as needed */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    object-fit: cover;
    /* Optional: Add a subtle animation or border */
    border: 3px solid rgba(255,215,0,0.3);
}
/* Placeholder if you don't have an image yet */
.routine-preview-visual .visual-placeholder {
    width: 350px;
    height: 250px;
    background-color: rgba(255,255,255,0.05);
    border: 2px dashed var(--accent-yellow);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
    color: var(--accent-yellow);
    opacity: 0.7;
}