/* StreamPost.AI - Minimal Stylesheet */

:root {
    --primary: #1e88e5;
    --primary-dark: #1565c0;
    --secondary: #64ffda;
    --dark: #121212;
    --light: #ffffff;
    --gradient-blue: linear-gradient(45deg, #1a237e, #0D47A1, #1E88E5);
}

body, html {
    height: 100%;
    margin: 0;
    font-family: sans-serif;
    background-color: var(--dark);
    color: var(--light);
}
.text-secondary, 
.text-muted {
    color: #ffffff !important;
}
/* Navigation */
.navbar {
    background-color: #121212 !important;
    padding: 1rem 0;
    z-index: 100;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--light) !important;
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    color: var(--light) !important;
    font-weight: 500;
    margin: 0 1rem;
}

.nav-link.active {
    color: var(--secondary) !important;
}

/* Page Headers */
.page-header {
    background: #1a237e;
    padding: 8rem 0 4rem;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.5);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
}

.breadcrumb-item, .breadcrumb-item a {
    color: var(--light);
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--secondary);
}

/* Buttons */
.btn-custom {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.btn-primary-custom {
    background-color: var(--primary);
    border: none;
    color: white;
}

.btn-secondary-custom {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    margin-left: 1rem;
}

.btn-secondary-custom:hover {
    background-color: var(--secondary);
    color: var(--dark);
}

/* Section Styles */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-dark {
    background-color: #0a0a0a;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--secondary);
}

.section-title-center {
    text-align: center;
}

.section-title-center:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Feature Boxes */
.feature-box {
    padding: 2rem;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    height: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    background: rgba(100, 255, 218, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-content {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-author {
    display: block;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    border: 3px solid var(--secondary);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.testimonial-position {
    font-size: 0.9rem;
    opacity: 0.7;
}

.testimonial-rating {
    color: #FFD700;
    margin-top: 0.5rem;
}

/* Contact Form */
.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1.5rem;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--secondary);
    color: var(--light);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

textarea.form-control {
    min-height: 150px;
}

.contact-info-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

/* FAQ Accordion */
.accordion-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.2rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--secondary);
}

.accordion-body {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    color: #ffffff; 
}

/* Metrics Counter */
.counter-box {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.counter-title {
    font-size: 1.2rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(45deg, #1a237e, #0a0a0a);
}

.cta-content {
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    padding: 5rem 0 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--light);
    text-decoration: none;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-about {
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light);
    opacity: 0.8;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    margin-right: 0.8rem;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ===== Pricing Tables ===== */
.pricing-table {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-table:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-popular {
    border: 2px solid var(--secondary);
}

.pricing-badge {
    position: absolute;
    top: 3rem;
    right: -3.5rem;
    transform: rotate(45deg);
    background-color: var(--secondary);
    color: var(--dark);
    padding: 0.2rem 3rem;
    font-weight: 600;
    font-size: 1.0rem;
    text-transform: uppercase;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.pricing-duration {
    opacity: 0.7;
    font-size: 0.9rem;
}

.pricing-features {
    margin-bottom: 2.5rem;
    padding: 0;
    list-style: none;
}

.pricing-feature {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-feature:last-child {
    border-bottom: none;
}

.pricing-feature i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Particles Effect */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* Blog-specific styles to fix overflow issues */

/* General sidebar container */
.blog-sidebar {
    max-width: 100%;
    overflow: hidden;
}

/* Feature box adjustments for blog */
.blog-sidebar .feature-box {
    padding: 1.5rem;
    height: auto;
    word-wrap: break-word;
    overflow: hidden;
}

/* Fix for popular posts */
.blog-sidebar .popular-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.blog-sidebar .popular-post-img {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    margin-right: 10px;
}

.blog-sidebar .popular-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.blog-sidebar .popular-post-content {
    flex: 1;
    min-width: 0; /* Important for text truncation */
}

.blog-sidebar .popular-post-content h6 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-sidebar .post-date {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Fix for categories */
.blog-sidebar .categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar .categories-list li {
    margin-bottom: 8px;
}

.blog-sidebar .categories-list a {
    display: flex;
    justify-content: space-between;
    color: var(--light);
    text-decoration: none;
}

.blog-sidebar .categories-list span {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Fix for tags */
.blog-sidebar .tags-cloud {
    display: flex;
    flex-wrap: wrap;
}

.blog-sidebar .tag {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    color: var(--light);
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-sidebar .tag:hover {
    background-color: var(--secondary);
    color: var(--dark);
}

/* Fix for newsletter form */
.blog-sidebar .newsletter-form {
    width: 100%;
}

.blog-sidebar .form-control {
    margin-bottom: 10px;
}
