/* ===== Blog Styles ===== */

:root {
    --blog-max-width: 800px;
    --blog-text-color: #2d3748;
    --blog-heading-color: #1a202c;
    --blog-link-color: #4361ee;
    --blog-line-height: 1.8;
    --blog-font-size: 20px;
    --blog-paragraph-margin: 1.6em;
}

/* Blog Hero */
.blog-hero {
    padding: 80px 0 60px;
    background: white;
    margin-bottom: 40px;
}

.blog-header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-category,
.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-color);
    box-shadow: var(--box-shadow);
}

.blog-category {
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    color: white;
}

.blog-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.dark-mode .blog-hero {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.2) 0%, rgba(155, 81, 224, 0.1) 100%);
}

.dark-mode .blog-category,
.dark-mode .blog-date,
.dark-mode .blog-read-time {
    background: rgba(26, 32, 44, 0.9);
    color: rgba(255, 255, 255, 0.8);
}

.dark-mode .blog-title {
    color: white;
}

/* Article Wrapper - UPDATED WIDTH */
.article-wrapper {
    max-width: var(--blog-max-width);
    margin: 0 auto;
}

.featured-image {
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 0 20px;
}

/* Article Sections & Typography - UPDATED */
.article-section {
    margin-bottom: 50px;
}

.article-section p {
    font-size: var(--blog-font-size);
    line-height: var(--blog-line-height);
    margin-bottom: var(--blog-paragraph-margin);
    color: var(--blog-text-color);
}

.article-section h2 {
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(67, 97, 238, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 2em;
    /* Added top margin for breathing room */
}

/* Highlighted Phrases */
.article-section strong {
    color: var(--dark-color);
    font-weight: 700;
}

.highlight-bg {
    background-color: rgba(67, 97, 238, 0.1);
    padding: 0 4px;
    border-radius: 4px;
}

.dark-mode .article-section h2 {
    color: white;
    border-bottom-color: rgba(67, 97, 238, 0.4);
}

.dark-mode .article-section p {
    color: #e2e8f0;
}

.dark-mode .article-section strong {
    color: white;
}

.dark-mode .highlight-bg {
    background-color: rgba(67, 97, 238, 0.2);
}

/* New Inline CTA Styles */
.inline-cta {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.08), rgba(155, 81, 224, 0.05));
    border: 1px solid rgba(67, 97, 238, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.inline-cta h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.inline-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.inline-cta .cta-button {
    box-shadow: 0 4px 14px 0 rgba(67, 97, 238, 0.39);
    padding: 12px 25px;
    font-size: 1rem;
}

.dark-mode .inline-cta {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(67, 97, 238, 0.3);
}

.dark-mode .inline-cta h3 {
    color: #90cdf4;
}

/* Introduction Box */
.intro-box {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(76, 201, 240, 0.05));
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 40px;
}

.intro-box p {
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 1.15rem;
    /* Slightly larger for intro */
    line-height: 1.8;
}

.intro-box p:last-child {
    margin-bottom: 0;
}

.dark-mode .intro-box {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.1));
}

/* Table of Contents */
.table-of-contents {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.table-of-contents h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 12px;
}

.table-of-contents a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.table-of-contents a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.table-of-contents a::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.2rem;
}

.dark-mode .table-of-contents {
    background: rgba(26, 32, 44, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .table-of-contents h3 {
    color: white;
}

.dark-mode .table-of-contents a {
    color: #90cdf4;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Reason Cards */
.reason-card {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.reason-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.reason-content h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.reason-content p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

.reason-content p:last-child {
    margin-bottom: 0;
}

.dark-mode .reason-card {
    background: rgba(26, 32, 44, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .reason-content h3 {
    color: white;
}

/* Keyword Tags */
.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.keyword-tag {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.dark-mode .keyword-tag {
    background: rgba(67, 97, 238, 0.2);
    color: #90cdf4;
}

/* Checklists */
.checklist {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: var(--gray-color);
}

.checklist li i {
    color: var(--success-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.dark-mode .checklist li {
    color: rgba(255, 255, 255, 0.8);
}

/* Symptoms Grid */
.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.symptom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    text-align: center;
}

.symptom-item i {
    font-size: 1.5rem;
    color: var(--warning-color);
}

.symptom-item span {
    font-weight: 600;
    color: var(--dark-color);
}

.dark-mode .symptom-item {
    background: rgba(245, 158, 11, 0.2);
}

.dark-mode .symptom-item span {
    color: white;
}

/* Warning List */
.warning-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.warning-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 8px;
    color: var(--gray-color);
}

.warning-list li i {
    color: var(--danger-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.dark-mode .warning-list li {
    background: rgba(239, 68, 68, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.solution-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.solution-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    text-align: left;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray-color);
    font-size: 0.95rem;
}

.solution-list li i {
    color: var(--success-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.solution-note {
    background: rgba(16, 185, 129, 0.1);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--success-color);
    margin: 0;
}

.solution-note i {
    margin-right: 8px;
}

.dark-mode .solution-card {
    background: rgba(26, 32, 44, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .solution-card h3 {
    color: white;
}

.dark-mode .solution-list li {
    color: rgba(255, 255, 255, 0.8);
}

.dark-mode .solution-note {
    background: rgba(16, 185, 129, 0.2);
    color: #4ade80;
}

/* Sleep Schedule Tip */
.sleep-schedule-tip {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.05));
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    margin-top: 40px;
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.tip-content h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tip-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.tip-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tip-item i {
    color: var(--primary-color);
}

.tip-item span {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.tip-note {
    background: rgba(245, 158, 11, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    color: var(--warning-color);
}

.tip-note strong {
    color: var(--dark-color);
}

.tip-note a {
    color: var(--primary-color);
    font-weight: 600;
}

.dark-mode .sleep-schedule-tip {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.2), rgba(76, 201, 240, 0.1));
    border-color: var(--primary-color);
}

.dark-mode .tip-content h4 {
    color: white;
}

.dark-mode .tip-content p {
    color: rgba(255, 255, 255, 0.8);
}

.dark-mode .tip-item {
    background: rgba(26, 32, 44, 0.9);
}

.dark-mode .tip-item span {
    color: rgba(255, 255, 255, 0.8);
}

.dark-mode .tip-note {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.dark-mode .tip-note strong {
    color: white;
}

.dark-mode .tip-note a {
    color: #90cdf4;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tool-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--box-shadow);
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.tool-card h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.tool-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dark-mode .tool-card {
    background: rgba(26, 32, 44, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .tool-card:hover {
    border-color: var(--primary-color);
}

.dark-mode .tool-card h4 {
    color: white;
}

.dark-mode .tool-card p {
    color: rgba(255, 255, 255, 0.8);
}

.dark-mode .tool-link {
    color: #90cdf4;
}

/* Conclusion Box */
.conclusion-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--success-color);
}

.conclusion-box h2 {
    color: var(--success-color);
    margin-bottom: 20px;
    border: none;
    justify-content: center;
}

.conclusion-box p {
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.highlight-box i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.highlight-box p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.action-call {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(67, 97, 238, 0.2);
}

.action-call p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.4);
}

.dark-mode .conclusion-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    border-color: var(--success-color);
}

.dark-mode .conclusion-box p {
    color: rgba(255, 255, 255, 0.8);
}

.dark-mode .highlight-box {
    background: rgba(26, 32, 44, 0.9);
}

.dark-mode .highlight-box p {
    color: white;
}

.dark-mode .action-call {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Share Section */
.share-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    margin-top: 50px;
    box-shadow: var(--box-shadow);
}

.share-section p {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.share-btn.facebook {
    background: #1877F2;
    color: white;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.linkedin {
    background: #0077B5;
    color: white;
}

.share-btn.copy {
    background: var(--gray-color);
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode .share-section {
    background: rgba(26, 32, 44, 0.9);
}

.dark-mode .share-section p {
    color: white;
}

/* Sidebar */
.blog-sidebar {
    display: none;
}

.sidebar-widget {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Related Articles */
.related-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-article {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    padding: 15px;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.related-article:hover {
    border-color: var(--primary-color);
    background: rgba(67, 97, 238, 0.05);
    transform: translateX(5px);
}

.related-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content h4 {
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.4;
}

.related-category {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.dark-mode .sidebar-widget {
    background: rgba(26, 32, 44, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .sidebar-widget h3 {
    color: white;
}

.dark-mode .related-article:hover {
    background: rgba(67, 97, 238, 0.2);
    border-color: var(--primary-color);
}

.dark-mode .related-content h4 {
    color: white;
}

.dark-mode .related-category {
    background: rgba(67, 97, 238, 0.2);
    color: #90cdf4;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, rgba(155, 81, 224, 0.1), rgba(107, 72, 255, 0.05));
    border: 2px solid var(--accent-color);
}

.newsletter-widget p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 2px solid rgba(67, 97, 238, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: var(--dark-color);
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--accent-color), #7c3aed);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 81, 224, 0.3);
}

.dark-mode .newsletter-widget {
    background: linear-gradient(135deg, rgba(155, 81, 224, 0.2), rgba(107, 72, 255, 0.1));
}

.dark-mode .newsletter-form input {
    background: rgba(26, 32, 44, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Calculator Widget */
.calculator-widget {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.05));
    border: 2px solid var(--primary-color);
}

.calculator-widget p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.quick-calculator {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-calculator label {
    color: var(--dark-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-calculator input {
    padding: 12px;
    border: 2px solid rgba(67, 97, 238, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: var(--dark-color);
}

.quick-calculate-btn {
    background: linear-gradient(135deg, var(--primary-color), #3a0ca3);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quick-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.quick-result {
    padding: 15px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--success-color);
    display: none;
}

.quick-result.show {
    display: block;
}

.dark-mode .calculator-widget {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.2), rgba(76, 201, 240, 0.1));
}

.dark-mode .quick-calculator label {
    color: white;
}

.dark-mode .quick-calculator input {
    background: rgba(26, 32, 44, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.dark-mode .quick-result {
    background: rgba(16, 185, 129, 0.2);
    color: #4ade80;
}

/* FAQ Section - NEW */
.faq-section {
    margin: 50px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(76, 201, 240, 0.05));
    border-radius: var(--border-radius);
    border: 1px solid rgba(67, 97, 238, 0.1);
}

.faq-header {
    text-align: center;
    margin-bottom: 30px;
}

.faq-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: white;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-color);
}

.faq-question:hover {
    background: rgba(67, 97, 238, 0.05);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background: rgba(0, 0, 0, 0.02);
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-toggle-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

/* Sticky Mobile CTA - NEW */
.mobile-sticky-cta {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: bottom 0.3s ease-in-out;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-sticky-cta.visible {
    bottom: 0;
}

.cta-text {
    flex: 1;
    margin-right: 15px;
}

.cta-text p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin: 0;
}

.cta-text h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0;
}

.mobile-sticky-cta .cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.dark-mode .mobile-sticky-cta {
    background: rgba(26, 32, 44, 0.95);
    border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .cta-text h4 {
    color: white;
}

/* Responsive Design */
@media (min-width: 992px) {
    .blog-article .container {
        display: block;
    }

    .blog-sidebar {
        display: none;
    }

    /* Hide mobile sticky on desktop */
    .mobile-sticky-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0 40px;
    }

    .blog-title {
        font-size: 2.2rem;
    }

    .blog-meta {
        gap: 10px;
    }

    .featured-image img {
        height: 300px;
    }

    .reason-card {
        flex-direction: column;
        gap: 15px;
    }

    .reason-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .sleep-schedule-tip {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .tip-icon {
        margin: 0 auto;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }

    /* Ensure sticky footer doesn't overlap content */
    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 1.8rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: center;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tip-details {
        grid-template-columns: 1fr;
    }
}