/* 
========================================
Morning Ritual Lab - High Conversion Styles
========================================
*/

:root {
    /* Palette: Fresh & Energetic (Alternative) */
    --bg-body: #F4F9F9;
    --bg-card: #FFFFFF;
    
    /* Text */
    --text-main: #3E3E3E;
    --text-light: #666666;
    --text-heading: #1A2E2E;
    
    /* Brand & Accents */
    --primary: #4A8C8C;       /* Strong Teal */
    --primary-light: #7EBEBE; /* Soft Teal */
    --highlight: #D9F3F3;     /* Background Highlight */
    
    /* Action / CTA */
    --cta-color: #D35400;     /* Energetic Orange (Complementary to Teal) */
    --cta-hover: #E67E22;
    
    /* UI Elements */
    --border-subtle: #E8E8E8;
    --shadow-card: 0 10px 30px rgba(74, 140, 140, 0.1);
    --shadow-hover: 0 15px 40px rgba(74, 140, 140, 0.15);
    
    /* Spacing */
    --container-width: 900px;
    --radius-card: 12px;
    --radius-btn: 50px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Enhancements */
h1, h2, h3 {
    font-family: "Montserrat", "Helvetica Neue", sans-serif; /* More modern than Georgia */
    color: var(--text-heading);
    line-height: 1.25;
    font-weight: 800;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.text-highlight {
    background: linear-gradient(120deg, var(--highlight) 0%, var(--highlight) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.4em;
    background-position: 0 88%;
    padding: 0 2px;
}

/* Header */
header {
    background: var(--bg-card);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.brand::before {
    content: "☀️"; /* Simple icon */
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-body) 100%);
}

.hero-eyebrow {
    display: inline-block;
    background: var(--highlight);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Main Card */
.content-card {
    background: var(--bg-card);
    padding: 4rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.content-card::top {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary);
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    margin-right: 1rem;
}

.author-info {
    font-size: 0.9rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-heading);
    display: block;
}

.author-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Feature Image */
.featured-image-wrapper {
    position: relative;
    margin: 2.5rem -2rem;
    box-shadow: var(--shadow-card);
}

.featured-image {
    width: 100%;
    display: block;
}

.image-caption {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.benefit-item {
    background: var(--bg-body);
    padding: 1.5rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
    display: block;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--highlight);
    border-radius: var(--radius-card);
}

.badge {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

.badge::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    margin-right: 8px;
    font-size: 0.8rem;
}

/* CTA Section */
.cta-wrapper {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--text-heading) 0%, #2c3e50 100%);
    border-radius: var(--radius-card);
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.cta-wrapper h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-wrapper p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.btn-pulse {
    display: inline-block;
    background-color: var(--cta-color);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: var(--radius-btn);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.4);
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-pulse:hover {
    background-color: var(--cta-hover);
    transform: scale(1.05);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(211, 84, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(211, 84, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 84, 0, 0); }
}

.guarantee-text {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 1.5rem;
    background: #fff;
    border-top: 1px solid var(--border-subtle);
}

.footer-links a {
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .content-card {
        padding: 2rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-image-wrapper {
        margin: 2rem -1.5rem;
    }
}
