:root {
    --primary-color: #2d5016;
    --secondary-color: #5a8f3a;
    --accent-color: #8bc34a;
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --gradient-1: linear-gradient(135deg, #2d5016 0%, #5a8f3a 50%, #8bc34a 100%);
    --gradient-2: linear-gradient(135deg, #5a8f3a 0%, #8bc34a 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #fff;
    overflow-x: hidden;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    color: #fff;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--accent-color);
    color: #fff;
}

.btn-accept:hover {
    background: #7ab33a;
}

.btn-reject {
    background: transparent;
    color: #fff;
    border: 1px solid #666;
}

.btn-reject:hover {
    background: #333;
}

.btn-settings {
    background: #444;
    color: #fff;
}

.btn-settings:hover {
    background: #555;
}

.cookie-settings {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    color: #fff;
    padding: 30px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings.show {
    transform: translateY(0);
}

.settings-content {
    max-width: 600px;
    margin: 0 auto;
}

.settings-content h3 {
    margin-bottom: 20px;
}

.setting-item {
    margin: 15px 0;
}

.setting-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.setting-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-save {
    margin-top: 20px;
    padding: 12px 30px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.btn-save:hover {
    background: #7ab33a;
}

.main-header {
    background: var(--gradient-1);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.9;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

.hero-section {
    background: var(--gradient-1);
    color: #fff;
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.author-badge,
.date-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.intro-article {
    max-width: 800px;
    margin: 0 auto;
}

.intro-article h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.intro-article p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.highlight-text {
    background: var(--gradient-2);
    color: #fff;
    padding: 25px;
    border-radius: 10px;
    font-weight: 500;
    margin-top: 30px;
}

.articles-grid {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.articles-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.article-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-1 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card-2 {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
}

.card-3 {
    background: linear-gradient(135deg, #e6f3ff 0%, #cce5ff 100%);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.3;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.read-time {
    font-size: 14px;
    color: var(--text-light);
}

.savings-badge {
    background: var(--gradient-2);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.card-link:hover {
    transform: translateX(5px);
    color: var(--secondary-color);
}

.quick-tips {
    padding: 80px 0;
    background: var(--gradient-1);
    color: #fff;
}

.tips-content {
    max-width: 800px;
    margin: 0 auto;
}

.tips-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 20px;
}

.main-footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

.page-content {
    padding: 60px 0;
    min-height: 60vh;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-article {
    max-width: 800px;
    margin: 0 auto;
}

.content-article h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.content-article h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.content-article p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.content-article ul,
.content-article ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-article li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: var(--text-light);
}

.content-article img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
}

.highlight-box {
    background: var(--gradient-2);
    color: #fff;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: var(--gradient-1);
    color: #fff;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    background: var(--gradient-1);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: 50px;
}

.about-image-wrapper {
    margin-bottom: 30px;
}

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: block;
    background: var(--gradient-2);
    object-fit: cover;
}

.lead-text {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.article-meta {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.article-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.related-articles {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.related-articles p {
    margin: 0;
    color: var(--text-light);
}

.related-articles a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.related-articles a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contact-item p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-note {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    margin-top: 40px;
}

.contact-note h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-note ul {
    list-style: none;
    padding: 0;
}

.contact-note li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.contact-note li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.faq-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.faq-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.faq-item p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--gradient-1);
        flex-direction: column;
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .articles-wrapper {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-buttons button {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 32px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-navigation {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-articles {
        flex-direction: column;
        align-items: flex-start;
    }
}

