/* ============================================
   BLOG PAGE — blog.css
   Extends style.css with blog-specific styles
   Font: Fraunces (serif) for article body
   ============================================ */

/* Override body font for blog page only */
.blog-page {
    font-style: normal;
}

/* ---- HEADER ADJUSTMENTS for blog page ---- */
header .container {
    justify-content: space-between;
    gap: 2rem;
}

.header-btns {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.btn-header {
    padding: 0.6rem 1.4rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-family: 'Inter', sans-serif;
    border-radius: 50px;
    white-space: nowrap;
}

.btn-header-active {
    padding: 0.6rem 1.4rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-family: 'Inter', sans-serif;
    border-radius: 50px;
    white-space: nowrap;
}

.btn-header-active.btn-primary {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.nav-active {
    color: var(--accent-color) !important;
    position: relative;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* ---- BLOG HERO ---- */
.blog-hero {
    padding: 175px 0 80px;
    text-align: center;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(57, 86, 153, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hero-icon-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 1.5rem auto 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floating 4s ease-in-out infinite;
}

.blog-hero-icon-container .tooth-icon {
    font-size: 9.5rem;
}

.blog-hero-icon-container .dollar-icon {
    font-size: 4rem;
    right: -25px;
}

.blog-hero-icon-container .crown-icon {
    font-size: 4rem;
    top: -38px;
}

.blog-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.15;
    background: linear-gradient(to bottom, #fff 70%, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Inter', sans-serif;
}

.blog-hero-sub {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
    font-weight: 300;
}

/* ---- ARTICLE SECTION ---- */
.blog-article-section {
    padding: 60px 0 120px;
}

.blog-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- ARTICLE HEADER ---- */
.article-header {
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 2.5rem;
}

.article-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    background: rgba(57, 86, 153, 0.2);
    border: 1px solid rgba(57, 86, 153, 0.4);
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.article-title {
    font-family: 'Fraunces', serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: normal;
    letter-spacing: -0.01em;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-item i {
    color: var(--brand-gold);
    font-size: 0.8rem;
}

.meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.5;
}

/* ---- ARTICLE BODY TEXT ---- */
.article-body {
    font-family: 'Fraunces', serif;
    font-size: 1.13rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 300;
}

.article-body p {
    margin-bottom: 1.6rem;
}

.article-intro {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.9;
    margin-bottom: 1.8rem;
    padding-left: 1.2rem;
    border-left: 3px solid var(--brand-gold);
}

/* ---- ARTICLE SECTIONS ---- */
.article-section {
    margin: 3.5rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article-section:last-child {
    border-bottom: none;
}

.section-heading {
    font-family: 'Fraunces', serif;
    font-size: 1.7rem;
    font-weight: 700;
    font-style: normal;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.3;
}

.section-icon {
    font-style: normal;
    font-size: 1.4rem;
}

/* ---- ARTICLE LISTS ---- */
.article-list {
    list-style: none;
    margin: 1.2rem 0 1.8rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.article-list li {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    padding-left: 0.5rem;
}

.article-list li::before {
    content: '—';
    color: var(--brand-gold);
    font-weight: 600;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
}

.keywords-list li::before {
    content: '#';
    color: var(--accent-color);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* ---- PROMPT BOX ---- */
.prompt-box {
    background: rgba(57, 86, 153, 0.12);
    border: 1px solid rgba(57, 86, 153, 0.35);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.prompt-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--btn-gradient);
    border-radius: 4px 0 0 4px;
}

.prompt-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt-text {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0 !important;
}

/* ---- WHY AI BENEFITS GRID ---- */
.why-ai-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin: 1.5rem 0 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
}

.benefit-item i {
    color: #4ade80;
    font-size: 1rem;
    flex-shrink: 0;
}

.closing-statement {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 600;
    font-style: italic;
    color: var(--brand-gold) !important;
    text-align: center;
    margin: 0 !important;
    padding-top: 1rem;
}

/* ---- ARTICLE CTA ---- */
.article-cta {
    margin-top: 5rem;
    padding: 3.5rem;
    background: linear-gradient(135deg, rgba(57, 86, 153, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(57, 86, 153, 0.3);
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.article-cta h3 {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-cta p {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-btns {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 968px) {
    .blog-hero h1 {
        font-size: 2.6rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.45rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    header .container {
        flex-wrap: wrap;
        gap: 1rem;
        height: auto;
        padding: 1.2rem 2rem;
    }

    .header-btns {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        padding: 140px 0 60px;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .article-title {
        font-size: 1.7rem;
    }

    .article-cta {
        padding: 2rem 1.5rem;
    }

    .article-cta h3 {
        font-size: 1.5rem;
    }

    .header-btns {
        flex-direction: column;
        gap: 0.6rem;
    }

    .btn-header,
    .btn-header-active {
        width: 100%;
        text-align: center;
    }
}