/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Main Content */
main {
    flex: 1;
}

.hero-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    color: #0f172a;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 48px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
}

/* CTA Button */
.cta-container {
    margin: 40px 0;
}

.cta-button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b, #a93226);
}

.cta-button:active {
    transform: translateY(-1px);
}

.security-note {
    margin-top: 15px;
    color: #27ae60;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Main Content Layout */
.main-content {
    margin-bottom: 40px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Blog Section */
.blog-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-desc {
    color: #7f8c8d;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Blog Post Cards */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #e74c3c;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category {
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date {
    color: #95a5a6;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-post-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-post-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-card h3 a:hover {
    color: #e74c3c;
}

.blog-post-card p {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 20px;
}

.post-author {
    color: #e74c3c;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding: 30px 0;
}

.pagination .page {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    color: #7f8c8d;
    border: 1px solid #ecf0f1;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination .page:hover,
.pagination .page.current {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.pagination .dots {
    padding: 10px 5px;
    color: #95a5a6;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post {
    display: block;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid #ecf0f1;
}

.recent-post:hover {
    background: #e8f4fd;
    border-left-color: #e74c3c;
    transform: translateX(5px);
}

.recent-title {
    color: #34495e;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.recent-post:hover .recent-title {
    color: #e74c3c;
}

/* Categories */
.categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-link {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #34495e;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-link:hover {
    background: #e74c3c;
    color: white;
    transform: translateX(5px);
}

/* Services Widget */
.sidebar-widget.services {
    border-left: 4px solid #3498db;
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: #e8f4fd;
    transform: translateY(-2px);
}

.service-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-content h4 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.service-content p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Blog Posts Section */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.blog-post {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.2s ease;
}

.blog-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.blog-post .date {
    color: #6366f1;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.blog-post h3 {
    color: #0f172a;
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.blog-post p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

.info-section h2 {
    font-size: 2.5rem;
    color: #0f172a;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.info-section > p {
    text-align: center;
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.info-item {
    padding: 32px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.info-item h3 {
    color: #0f172a;
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.info-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 48px 0;
    margin-top: 80px;
    border-top: 1px solid #1e293b;
}

footer p {
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Single Post Styles */
.single-post {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.post-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 30px;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.breadcrumb a {
    color: #e74c3c;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.post-meta.single {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.single-post h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.post-content h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    font-weight: 600;
}

.post-content h3 {
    color: #34495e;
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.post-content h4 {
    color: #34495e;
    font-size: 1.2rem;
    margin: 25px 0 10px 0;
    font-weight: 600;
}

.post-content ul, .post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin: 10px 0;
    line-height: 1.7;
}

.post-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Content Boxes */
.cta-box {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.cta-box h3 {
    color: white !important;
    margin-bottom: 15px;
}

.cta-box p {
    color: white;
    margin-bottom: 25px;
}

.info-box {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.info-box h4 {
    color: #856404 !important;
    margin-bottom: 10px;
}

.info-box p {
    color: #856404;
    margin: 0;
}

.conclusion-box {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.conclusion-box h3 {
    color: #155724 !important;
    margin-bottom: 15px;
}

.conclusion-box p {
    color: #155724;
    margin: 0;
}

/* Bonus List */
.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
}

.bonus-item:hover {
    background: #e8f5e8;
    transform: translateX(5px);
}

.bonus-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.bonus-content h4 {
    color: #2c3e50 !important;
    margin-bottom: 5px;
}

.bonus-content p {
    color: #7f8c8d;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    margin: 25px 0;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #3498db;
}

.faq-item h4 {
    color: #2c3e50 !important;
    margin-bottom: 10px;
}

.faq-item p {
    color: #5a6c7d;
    margin: 0;
}

/* Post Navigation */
.post-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #ecf0f1;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-links a {
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.nav-links a:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
}

.nav-links .prev-post {
    text-align: left;
}

.nav-links .next-post {
    text-align: right;
}

/* Header Link */
header h1 a {
    color: #2c3e50;
    text-decoration: none;
}

header h1 a:hover {
    color: #e74c3c;
}

/* Current Post Highlight */
.recent-post.current {
    background: #e74c3c !important;
    color: white;
    border-left-color: #c0392b;
}

.recent-post.current .recent-title {
    color: white !important;
}

/* Responsive Design */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .content-wrapper {
        padding: 0 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 40px 25px;
        margin-bottom: 30px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
    
    .blog-section h2 {
        font-size: 1.6rem;
    }
    
    .blog-post-card {
        padding: 20px;
    }
    
    .blog-post-card h3 {
        font-size: 1.2rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .pagination .page {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    /* Single Post Mobile */
    .single-post {
        padding: 25px 20px;
    }
    
    .single-post h1 {
        font-size: 1.8rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .bonus-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-links a {
        text-align: center;
    }
    
    .post-meta.single {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.7rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .blog-post-card {
        padding: 15px;
    }
    
    .blog-post-card h3 {
        font-size: 1.1rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
