/* =========================================
   CSS Reset & Variables
   ========================================= */
   :root {
    /* Colors */
    --primary: #ff477e;
    --primary-light: #ff7096;
    --primary-dark: #f94144;
    --secondary: #ffb5a7;
    --accent: #fec5bb;
    --bg-color: #fdfafb;
    --surface: #ffffff;
    --text-main: #2b2b2b;
    --text-muted: #6c757d;
    --border: #f1e3e4;
    
    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(255, 71, 126, 0.05), 0 2px 4px -1px rgba(255, 71, 126, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(255, 71, 126, 0.08), 0 4px 6px -2px rgba(255, 71, 126, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(255, 71, 126, 0.1), 0 10px 10px -5px rgba(255, 71, 126, 0.04);
    --shadow-glow: 0 0 25px rgba(255, 71, 126, 0.4);
    
    /* Radius */
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Header
   ========================================= */
.blog-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
}

.blog-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-weight: 500;
}

.blog-nav a:not(.nav-cta):hover {
    color: var(--primary);
}

.nav-cta {
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =========================================
   Article Header
   ========================================= */
.blog-post {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 40px auto 60px;
    overflow: hidden;
}

.post-header {
    padding: 50px 40px 30px;
    text-align: center;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.category {
    color: var(--primary);
}

.post-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.post-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
}

.author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.author-details {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.author-bio {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   Hero Image
   ========================================= */
.hero-image-container {
    width: 100%;
    position: relative;
    padding: 0 40px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* =========================================
   Post Content
   ========================================= */
.post-content {
    padding: 40px 60px 60px;
}

.post-content p {
    font-size: 1.15rem;
    margin-bottom: 25px;
}

.post-content .lead {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.post-content h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin: 50px 0 25px;
    color: var(--text-main);
}

.highlight-box {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    padding: 30px;
    border-radius: var(--radius-md);
    margin: 40px 0;
    border-left: 5px solid var(--primary);
}

.highlight-box h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.highlight-box p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* =========================================
   Recipe Steps
   ========================================= */
.recipe-step {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    background: var(--bg-color);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.recipe-step.reverse {
    flex-direction: row-reverse;
}

.step-image {
    flex: 1;
    position: relative;
}

.step-image img {
    border-radius: var(--radius-md);
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: var(--primary);
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 8px 15px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transform: rotate(-5deg);
}

.recipe-step.reverse .step-number {
    left: auto;
    right: -15px;
    transform: rotate(5deg);
}

.step-text {
    flex: 1.2;
}

.step-text h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.step-text p {
    font-size: 1.05rem;
    margin-bottom: 0;
}

.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 60px 0;
}

/* =========================================
   Sales Banner / CTA
   ========================================= */
.sales-banner {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 50px;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow behind the sales banner */
.sales-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,71,126,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.sales-banner-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.sales-text {
    flex: 1.5;
}

.sales-text h2 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: white;
    margin: 0 0 15px;
    line-height: 1.2;
}

.sales-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.price-box {
    margin-bottom: 25px;
    background: rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.2);
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1rem;
}

.new-price {
    display: block;
    font-size: 1.5rem;
    color: var(--secondary);
}

.new-price strong {
    font-size: 2.2rem;
    color: white;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 18px 35px;
    border-radius: var(--radius-full);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(255, 71, 126, 0.6);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.guarantee-text {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.sales-image {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.sales-image img {
    border-radius: 8px;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    filter: drop-shadow(0 25px 25px rgba(0,0,0,0.5));
}

.sales-image:hover img {
    transform: rotateY(0) rotateX(0);
}

.badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #fbbf24;
    color: #78350f;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transform: rotate(15deg);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: white;
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo span {
    color: var(--primary);
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
    .post-title {
        font-size: 2.2rem;
    }
    
    .post-header {
        padding: 40px 20px 20px;
    }
    
    .post-content {
        padding: 30px 20px;
    }
    
    .hero-image-container {
        padding: 0 20px;
    }
    
    .recipe-step, .recipe-step.reverse {
        flex-direction: column;
        gap: 20px;
    }
    
    .sales-banner-content {
        flex-direction: column-reverse;
    }
    
    .sales-banner {
        padding: 30px 20px;
    }
    
    .sales-image img {
        transform: none;
    }
    
    .btn-buy {
        font-size: 1rem;
        padding: 15px 20px;
    }
}
