/* Blog Page Styles - Following Index Design System */

/* Fiscal Framework Base Styles - Matching Index Exactly */
.fiscal-page-container {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    background: #000000;
}

.fiscal-section {
    padding: 6rem 2rem;
    background: #000000;
    border-top: 1px solid rgba(74, 222, 128, 0.1);
    position: relative;
}

.fiscal-section-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.fiscal-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.fiscal-section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 100;
    margin-bottom: 3rem;
    letter-spacing: 0.15em;
    text-align: center;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.fiscal-section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.fiscal-hero-section {
    height: 100vh;
    background: #000000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    border-top: 1px solid rgba(74, 222, 128, 0.1);
}

.fiscal-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.fiscal-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fiscal-hero-title {
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title-main {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 100;
    color: #ffffff;
    line-height: 1.1;
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #ffffff 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-accent {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-weight: 300;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.2;
    max-width: 1000px;
    margin: 0 auto;
    letter-spacing: 0.1em;
}

.fiscal-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Blog-specific hero styles */
.blog-hero {
    background: #000000;
    position: relative;
}

.blog-icon-hero {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.hero-blog-icon {
    color: #4ade80;
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

/* Featured Articles Section */
.blog-featured {
    padding: 4rem 0;
    background: #111111;
    text-align: center;
}

.blog-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 3rem;
    align-items: center;
    text-align: center;
}

.blog-article-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.9;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.blog-article-card:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.blog-article-card.featured {
    background: rgba(74, 222, 128, 0.03);
    border-color: rgba(74, 222, 128, 0.2);
}

.blog-article-card.featured:hover {
    background: rgba(74, 222, 128, 0.05);
    border-color: rgba(74, 222, 128, 0.4);
}

.article-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.article-category {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.article-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
}

.article-title {
    margin-bottom: 1rem;
}

.article-title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.article-title a:hover {
    color: #4ade80;
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.tag:hover {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
}

/* Categories Section */
.blog-categories {
    padding: 4rem 0;
    background: #0a0a0a;
    text-align: center;
}

.blog-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(74, 222, 128, 0.1);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    opacity: 0.9;
}

.category-card:hover {
    opacity: 1;
    background: rgba(74, 222, 128, 0.05);
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.category-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.category-icon svg {
    color: #4ade80;
    stroke-width: 1.5;
}

.category-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.category-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ade80;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.category-link:hover {
    color: #22c55e;
    transform: translateX(4px);
}

/* Newsletter Section */
.blog-newsletter {
    padding: 4rem 0;
    background: #111111;
    text-align: center;
}

.newsletter-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.newsletter-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.5;
}

.newsletter-form {
    width: 100%;
    max-width: 400px;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.05);
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.1);
}

.newsletter-input {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem 1.25rem;
    color: #ffffff;
    font-size: 0.9375rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-button {
    background: #4ade80;
    border: none;
    padding: 1rem 1.5rem;
    color: #000000;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9375rem;
    min-width: 120px;
}

.newsletter-button:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

/* Responsive Design - Matching Index */
@media (max-width: 768px) {
    .fiscal-section {
        padding: 4rem 1rem;
    }

    .blog-articles-grid {
        flex-direction: column;
        gap: 4rem;
    }

    .blog-article-card {
        max-width: 100%;
        padding: 0 1rem;
    }

    .blog-categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-card {
        padding: 2rem 1.5rem;
    }

    .newsletter-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-button {
        border-radius: 0px;
    }

    .newsletter-input {
        border-radius: 0px;
    }

    .article-title a {
        font-size: 1.25rem;
    }

    .newsletter-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .article-tags {
        gap: 0.375rem;
    }

    .tag {
        font-size: 0.6875rem;
        padding: 0.1875rem 0.625rem;
    }
}

/* Animation Keyframes - Matching Index */
@keyframes titleGlow {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
} 