:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #e07a3f;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --white: #ffffff;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --transition: all 0.3s ease;
}

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

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

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

/* Navigation */
.primary-navigation {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-menu a:hover,
.nav-menu a.active-link {
    color: var(--accent-color);
    background: var(--bg-light);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 2rem;
    color: var(--white);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.main-heading {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.primary-button:hover {
    background: #c76833;
    transform: translateY(-2px);
}

.secondary-button {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.hero-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Features Showcase */
.features-showcase {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* Intro Content */
.intro-content {
    padding: 5rem 2rem;
}

.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.content-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.text-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.text-link:hover {
    text-decoration: underline;
}

.content-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonials-section {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.quote-icon {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    color: var(--primary-color);
    display: block;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Recent Posts */
.recent-posts {
    padding: 5rem 2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-preview {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.post-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.post-preview img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    text-decoration: underline;
}

.center-cta {
    text-align: center;
    margin-top: 3rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button-large {
    background: var(--accent-color);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: var(--transition);
}

.cta-button-large:hover {
    background: #c76833;
    transform: translateY(-2px);
}

.disclaimer-text {
    font-size: 0.85rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

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

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.footer-column h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

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

.footer-contact li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

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

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    padding: 2rem;
    z-index: 9999;
}

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

.cookie-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

.cookie-btn.reject {
    background: var(--border-color);
    color: var(--text-dark);
}

.cookie-btn.customize {
    background: var(--accent-color);
    color: var(--white);
}

.cookie-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Post Article Styles */
.post-article {
    background: var(--white);
}

.post-header {
    background: var(--bg-light);
    padding: 3rem 2rem;
}

.post-meta-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-category {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 600;
}

.post-date {
    color: var(--text-light);
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details strong {
    display: block;
    color: var(--primary-color);
}

.author-details span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-featured-image {
    width: 100%;
    overflow: hidden;
}

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

.post-content {
    padding: 4rem 2rem;
}

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

.main-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.main-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.main-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.main-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.post-quote {
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.post-quote p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.post-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    color: var(--text-light);
    font-size: 0.9rem;
}

.highlight-box,
.info-box,
.warning-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-box {
    background: #e6f7ff;
    border-left: 4px solid #1890ff;
}

.info-box {
    background: #f0f9ff;
    border-left: 4px solid var(--accent-color);
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.content-list {
    margin: 1rem 0 1.5rem 2rem;
}

.content-list li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.cta-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.sidebar-author-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.related-posts {
    list-style: none;
}

.related-posts li {
    margin-bottom: 0.8rem;
}

.related-posts a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.related-posts a:hover {
    color: var(--accent-color);
}

.related-posts-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

/* Contact Form */
.contact-page {
    padding: 5rem 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content,
    .content-columns,
    .contact-grid,
    .content-wrapper,
    .download-wrapper {
        grid-template-columns: 1fr;
    }

    .main-heading {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .sidebar {
        position: static;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-featured-image img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container-main {
        padding: 0 1rem;
    }

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

    .primary-button,
    .secondary-button {
        width: 100%;
        text-align: center;
    }
}