/* ===========================================
   CropSaga SEO Pages - Stiluri Optimizate
   Brand consistent cu landing.css
   =========================================== */

:root {
    /* Brand Colors */
    --cream: #f0f0e0;
    --dark-green: #223103;
    --white: #ffffff;
    --light-cream: #dfdfbe;
    --medium-green: #436106;
    --almost-black: #010100;
    
    /* Derived Colors */
    --bg-hero: #1a2a0f;
    --bg-deep: #0f1a08;
    --accent: #8ab060;
    --accent-hover: #7aa050;
    --text-on-dark: #f0f0e0;
    --text-dim: #a8b898;
    --border-light: rgba(240, 240, 224, 0.15);
    --border-medium: rgba(240, 240, 224, 0.25);
    --glass-bg: rgba(34, 49, 3, 0.6);
    
    /* SEO Page Specific */
    --content-bg: #fafaf5;
    --card-shadow: 0 4px 20px rgba(34, 49, 3, 0.08);
    --card-shadow-hover: 0 8px 30px rgba(34, 49, 3, 0.12);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--almost-black);
    background: var(--cream);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    line-height: 1.3;
    color: var(--dark-green);
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.625rem; }

p {
    margin-bottom: 1rem;
    color: #333;
}

a {
    color: var(--medium-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

/* ===========================================
   NAVBAR SEO
   =========================================== */

.seo-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(34, 49, 3, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-on-dark);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.nav-cta {
    background: var(--accent);
    color: var(--dark-green);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--accent-hover);
    text-decoration: none;
}

/* ===========================================
   HERO BANNER SEO
   =========================================== */

.seo-hero {
    background: linear-gradient(170deg, var(--dark-green) 0%, var(--bg-hero) 100%);
    padding: 120px 32px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.seo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}

.seo-hero h1 {
    color: var(--cream);
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.seo-hero .subtitle {
    color: var(--text-dim);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.breadcrumb a:hover {
    color: var(--cream);
}

.breadcrumb span {
    color: var(--text-dim);
}

.breadcrumb .current {
    color: var(--accent);
}

/* ===========================================
   MAIN CONTENT
   =========================================== */

.seo-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 32px;
}

.seo-content-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 32px;
}

/* Article Content */
.article-content {
    background: var(--white);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--card-shadow);
}

.article-content h2 {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.article-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(138, 176, 96, 0.1) 0%, rgba(67, 97, 6, 0.05) 100%);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.info-box h4 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
    border-left: 4px solid #ffc107;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

/* ===========================================
   CARDS GRID
   =========================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 2rem 0;
}

.seo-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.seo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    text-decoration: none;
}

.seo-card .card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--medium-green) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.seo-card .card-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.seo-card h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.seo-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.seo-card .card-arrow {
    color: var(--accent);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===========================================
   PRICE WIDGET
   =========================================== */

.price-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.price-table th {
    background: var(--light-cream);
    font-weight: 600;
    color: var(--dark-green);
}

.price-table tr:hover {
    background: rgba(138, 176, 96, 0.05);
}

.price-up {
    color: #22c55e;
}

.price-down {
    color: #ef4444;
}

.price-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.price-badge.up {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.price-badge.down {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ===========================================
   CTA SECTION
   =========================================== */

.seo-cta {
    background: linear-gradient(170deg, var(--dark-green) 0%, var(--bg-hero) 100%);
    padding: 80px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.seo-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}

.seo-cta h2 {
    color: var(--cream);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.seo-cta p {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--dark-green);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    text-decoration: none;
}

.cta-button-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--cream);
    margin-left: 16px;
}

.cta-button-outline:hover {
    background: rgba(138, 176, 96, 0.2);
}

/* ===========================================
   FOOTER SEO
   =========================================== */

.seo-footer {
    background: var(--dark-green);
    padding: 48px 32px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-copyright {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ===========================================
   TABLE OF CONTENTS
   =========================================== */

.toc {
    background: var(--light-cream);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 2rem;
}

.toc h4 {
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc li {
    margin-bottom: 8px;
}

.toc a {
    color: var(--medium-green);
    font-size: 0.95rem;
}

/* ===========================================
   CALENDAR TABLE
   =========================================== */

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.calendar-table th,
.calendar-table td {
    padding: 12px 16px;
    text-align: center;
    border: 1px solid #ddd;
}

.calendar-table th {
    background: var(--dark-green);
    color: var(--cream);
    font-weight: 500;
}

.calendar-table .optimal {
    background: rgba(34, 197, 94, 0.2);
    color: #166534;
}

.calendar-table .acceptable {
    background: rgba(255, 193, 7, 0.2);
    color: #854d0e;
}

.calendar-table .not-recommended {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

/* ===========================================
   RELATED ARTICLES
   =========================================== */

.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.related-articles h3 {
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--light-cream);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-card:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.related-card h4 {
    color: var(--dark-green);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-card p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 768px) {
    .seo-nav {
        padding: 12px 16px;
    }
    
    .nav-links {
        display: none;
    }
    
    .seo-hero {
        padding: 100px 20px 40px;
    }
    
    .seo-hero h1 {
        font-size: 2rem;
    }
    
    .seo-content,
    .seo-content-wide {
        padding: 40px 20px;
    }
    
    .article-content {
        padding: 24px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .seo-cta {
        padding: 60px 20px;
    }
    
    .seo-cta h2 {
        font-size: 1.75rem;
    }
    
    .cta-button {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 12px;
    }
    
    .cta-button-outline {
        margin-left: 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* ===========================================
   SCHEMA MARKUP STYLES (hidden but valid)
   =========================================== */

.schema-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===========================================
   ANIMATIONS
   =========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }



