:root {
    --primary: #1a3a2f;
    --primary-light: #2d5a4a;
    --accent: #d4a853;
    --accent-light: #e4be73;
    --text: #333;
    --text-light: #666;
    --cream: #faf8f5;
    --white: #ffffff;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    line-height: 1.8;
    background: var(--cream);
}

/* Back to Home */
.back-home {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.back-home:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0d1f1a 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
}

.article-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--cream);
    clip-path: ellipse(70% 100% at 50% 100%);
}

.article-category {
    display: inline-block;
    background: rgba(212,168,83,0.2);
    color: var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212,168,83,0.3);
}

.article-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.3;
}

.article-meta {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.article-meta span {
    margin: 0 0.5rem;
}

/* Article Content */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.article-content {
    font-size: 1.1rem;
    color: var(--text);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.article-content ul, 
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.8rem;
}

.article-content strong {
    color: var(--primary);
}

.highlight-box {
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 16px 16px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.highlight-box p {
    margin-bottom: 0;
    font-style: italic;
}

.warning-box {
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 16px 16px 0;
}

.warning-box h4 {
    color: #c53030;
    margin-bottom: 0.5rem;
}

.success-box {
    background: #f0fff4;
    border-left: 4px solid #38a169;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 16px 16px 0;
}

.success-box h4 {
    color: #276749;
    margin-bottom: 0.5rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #0d1f1a 100%);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

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

.cta-box .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-box .btn:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Table of Contents */
.toc {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.toc h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 0.5rem;
}

.toc a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc a::before {
    content: '→';
    color: var(--accent);
}

.toc a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

/* Footer */
footer {
    background: #0d1f1a;
    color: rgba(255,255,255,0.6);
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background: #25D366;
    color: white;
}

.floating-btn.phone {
    background: var(--accent);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-image {
        height: 250px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }
}
