* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --danger-color: #f56565;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
}

.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.primary-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
}

.primary-nav a:hover,
.primary-nav a.active {
    color: var(--primary-color);
}

.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
    margin-bottom: 60px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.beginner-guide {
    padding: 60px 0;
    background: var(--bg-white);
}

.guide-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.guide-icon {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.guide-card h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.letter-content {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-light);
}

.letter-content p {
    margin-bottom: 20px;
}

.guide-list {
    margin: 25px 0;
    padding-left: 30px;
}

.guide-list li {
    margin-bottom: 15px;
}

.guide-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(102, 126, 234, 0.2);
    text-align: center;
}

.featured-articles {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-heading {
    font-size: 40px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.article-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.article-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 30px;
}

.article-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.article-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-content h3 a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more:hover {
    transform: translateX(5px);
}

.info-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.info-block {
    text-align: center;
    padding: 35px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-block h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.info-block p {
    color: var(--text-light);
    line-height: 1.7;
}

.site-footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

.footer-column p {
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.contact-info svg {
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
    padding: 30px;
    z-index: 10000;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.cookie-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.accept-btn {
    background: var(--primary-color);
    color: white;
}

.accept-btn:hover {
    background: var(--secondary-color);
}

.reject-btn {
    background: var(--text-muted);
    color: white;
}

.reject-btn:hover {
    background: var(--text-dark);
}

.customize-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.customize-btn:hover {
    background: var(--primary-color);
    color: white;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-section {
    padding: 60px 0 100px;
}

.company-info {
    margin-top: 15px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .primary-nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .guide-card {
        padding: 30px 25px;
    }

    .section-heading {
        font-size: 32px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

.post-article {
    background: white;
}

.post-header-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.post-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 30px;
}

.post-meta-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.post-category {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.post-date {
    color: var(--text-muted);
    font-size: 15px;
}

.post-content h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-weight: 700;
}

.post-intro {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
}

.post-content h2 {
    font-size: 32px;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.post-content h3 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 18px;
    color: var(--text-dark);
    font-weight: 600;
}

.post-content p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 25px;
}

.post-content ul,
.post-content ol {
    margin: 25px 0;
    padding-left: 30px;
}

.post-content li {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .post-header-image {
        height: 300px;
    }

    .post-content h1 {
        font-size: 32px;
    }

    .post-content h2 {
        font-size: 26px;
    }

    .post-intro {
        font-size: 17px;
    }
}