@import url('./common.css');

/* Blog Page Styles */
body {
    font-family: "Inter", sans-serif;
    background: linear-gradient(135deg, var(--background-color) 0%, #1a1f2e 50%, var(--accent-color) 100%);
    color: var(--text-white);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.nav-logo i {
    color: #ff6b6b;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-links .btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-links .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

/* Blog Hero */
.blog-hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    padding: 0.25rem 0;
    line-height: 1.2;
}

.blog-hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
}

/* Blog Grid */
.blog-grid {
    padding: 4rem 0;
}

.blog-grid .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: linear-gradient(135deg, rgba(30, 35, 50, 0.95), rgba(40, 45, 60, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.blog-category {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.blog-card h2 {
    font-size: 1.5rem;
    margin: 1rem 0;
    line-height: 1.3;
}

.blog-card h2 a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: #ff6b6b;
}

.blog-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 0.75rem;
    color: #ff6b6b;
}

/* Individual Blog Post */
.blog-post {
    padding: 8rem 0 4rem;
}

.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 1rem 0;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.blog-post-meta i {
    color: #ff6b6b;
    margin-right: 0.5rem;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.blog-post-content .lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.blog-post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 107, 107, 0.3);
}

.blog-post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4ecdc4;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul, .blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.blog-post-content a {
    color: #4ecdc4;
    text-decoration: none;
    border-bottom: 1px solid rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
}

.blog-post-content a:hover {
    color: #ff6b6b;
    border-bottom-color: rgba(255, 107, 107, 0.5);
}

.blog-post-content strong {
    color: var(--text-white);
    font-weight: 600;
}

.blog-post-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

/* Blog CTA Box */
.blog-cta {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(78, 205, 196, 0.15));
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

.blog-cta h3 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.blog-cta p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.blog-cta .btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Comparison Table in Blog */
.comparison-table-blog {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table-blog thead {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(78, 205, 196, 0.2));
}

.comparison-table-blog th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-white);
}

.comparison-table-blog td {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table-blog td.highlight {
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    font-weight: 600;
}

/* Email Templates */
.email-template {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.email-template p strong {
    color: #ff6b6b;
}

.template-body {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #4ecdc4;
    padding: 1.5rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

.copy-template {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-template:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

/* Related Posts */
.related-posts {
    background: rgba(15, 20, 35, 0.5);
    padding: 4rem 0;
    margin-top: 4rem;
}

.related-posts h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.related-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.related-card h4 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.related-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Post Footer */
.post-footer {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #4ecdc4;
    padding: 1.5rem;
    margin-top: 3rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    border-radius: 8px;
}

/* Footer */
.footer {
    background: var(--background-color);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #ff6b6b;
}

.footer-brand p {
    color: var(--text-gray);
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact i {
    color: #ff6b6b;
}

.footer-contact a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #4ecdc4;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #4ecdc4;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-grid .container {
        grid-template-columns: 1fr;
    }
    
    .blog-post-header h1 {
        font-size: 2rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

