/* Shared Theme Variables - SaaS & B2B CRM Edition */
:root {
    --cyan-top: #00bcd4;
    --yellow-accent: #ffd54f;
    --green-bg: #f8f9fa; /* Crisp, clean SaaS dashboard grey */
    --green-dark: #2e7d32;
    --text-dark: #2d3748; /* Slate text for readability */
    --white: #fff;
    --saas-indigo: #3f51b5; /* Trustworthy professional blue/indigo */
    --pipeline-orange: #ff9800; /* High-energy conversion accent */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, sans-serif;
    background-color: var(--green-bg);
    color: var(--text-dark);
    line-height: 1.7;
    padding-bottom: 300px; /* Space for the bottom meme */
    position: relative;
    min-height: 100vh;
}

/* Cyan Top Bar (Maintained for site-wide consistency) */
header {
    background-color: var(--cyan-top);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    color: var(--white);
    font-size: 1.8rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

header a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    background-color: var(--saas-indigo);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: background 0.3s;
}

header a:hover {
    background-color: var(--pipeline-orange);
    color: var(--white);
}

/* Main Container */
.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border-top: 5px solid var(--saas-indigo);
}

/* Cool Banner Setup */
.banner-wrapper {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(63, 81, 181, 0.95), transparent); /* Indigo overlay */
    padding: 2rem 1.5rem 1rem 1.5rem;
}

.banner-overlay span {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}

/* Typography & SEO Headings */
h1 {
    color: var(--saas-indigo);
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    text-align: left;
    line-height: 1.3;
}

h2 {
    color: var(--pipeline-orange);
    font-size: 1.9rem;
    margin: 2.5rem 0 1rem 0;
    border-bottom: 2px solid var(--green-bg);
    padding-bottom: 0.5rem;
    line-height: 1.3;
}

h3 {
    color: var(--saas-indigo);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: #4a5568;
}

/* Journalistic Dropcap */
.dropcap::first-letter {
    float: left;
    font-size: 4rem;
    line-height: 0.8;
    padding-right: 8px;
    padding-top: 4px;
    color: var(--pipeline-orange);
    font-weight: bold;
}

a.text-link {
    color: var(--saas-indigo);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

a.text-link:hover {
    border-bottom: 2px solid var(--pipeline-orange);
}

/* Buttons Container */
.shiba-btn-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.shiba-btn {
    font-family: inherit;
    font-weight: bold;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.shiba-btn-primary { background-color: var(--saas-indigo); color: var(--white); }
.shiba-btn-primary:hover { background-color: #303f9f; transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }

.shiba-btn-secondary { background-color: var(--pipeline-orange); color: var(--white); text-shadow: 1px 1px 1px rgba(0,0,0,0.1); }
.shiba-btn-secondary:hover { background-color: #e65100; transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }

.shiba-btn-accent { background-color: var(--cyan-top); color: var(--white); }
.shiba-btn-accent:hover { background-color: var(--saas-indigo); color: var(--white); transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }

/* Play/Buy Button Animation */
.pulse-btn {
    animation: gentlePulse 2s infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.pulse-btn:hover {
    animation: none;
}

/* Related Posts Section */
.related-posts-section {
    background-color: #f8fafc;
    border: 2px dashed var(--saas-indigo);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3.5rem;
}

.related-posts-section h3 {
    margin-top: 0;
    color: var(--saas-indigo);
    text-align: center;
}

.related-posts-section p {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.related-btn {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    color: var(--saas-indigo);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.related-btn:hover {
    background-color: #ebf4ff;
    border-color: var(--pipeline-orange);
    color: var(--saas-indigo);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

/* Bottom Meme Image */
.meme-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 2rem;
    pointer-events: none;
}

.meme-footer img {
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border: 4px solid var(--yellow-accent);
}