/* CSS Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #2d5a27;
    --color-primary-light: #4a7c43;
    --color-primary-dark: #1e3d1a;
    --color-secondary: #8b6914;
    --color-accent: #d4a84b;
    --color-background: #fafaf8;
    --color-surface: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e0e0e0;
    --color-success: #2e7d32;
    --color-warning: #f9a825;
    --color-error: #c62828;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li { margin-bottom: 0.5rem; }

/* Header & Navigation */
header {
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo:hover {
    text-decoration: none;
    color: var(--color-primary-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    text-decoration: none;
    color: var(--color-primary);
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.hero h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.75rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Introduction Section */
.intro {
    padding: 4rem 0;
}

.intro h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.benefit-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.benefit-card h3 {
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Methods Section */
.methods {
    background: var(--color-surface);
    padding: 4rem 0;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.method-card {
    background: var(--color-background);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
}

.method-card h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

.method-content {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 2rem;
}

.method-info h4 {
    margin-top: 1.5rem;
    color: var(--color-primary-dark);
}

.method-info ol {
    padding-left: 1.25rem;
}

.method-info ol li {
    margin-bottom: 0.75rem;
}

.method-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-weight: 600;
    color: var(--color-primary-dark);
}

.stat-value.easy {
    color: var(--color-success);
}

.stat-value.medium {
    color: var(--color-warning);
}

/* Comparison Table */
.comparison-table-wrapper {
    margin-top: 3rem;
    overflow-x: auto;
}

.comparison-table-wrapper h3 {
    margin-bottom: 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
    background: var(--color-primary);
    color: white;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: var(--color-background);
}

/* Herb Guides Section */
.herb-guides {
    padding: 4rem 0;
}

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

.herb-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

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

.herb-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.moisture-level,
.difficulty {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.moisture-level.high {
    background: #ffebee;
    color: #c62828;
}

.moisture-level.medium {
    background: #fff8e1;
    color: #f57f17;
}

.moisture-level.low {
    background: #e8f5e9;
    color: #2e7d32;
}

.difficulty {
    background: var(--color-background);
    color: var(--color-text-light);
}

.herb-card h4 {
    margin-top: 1rem;
    color: var(--color-primary-dark);
    font-size: 1rem;
}

.herb-card ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.conversion {
    background: var(--color-background);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin: 1rem 0 0 0;
}

/* Storage Section */
.storage {
    background: var(--color-surface);
    padding: 4rem 0;
}

.storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.storage-card {
    background: var(--color-background);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

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

.storage-card ul {
    padding-left: 1.25rem;
}

.shelf-life-table {
    width: 100%;
    border-collapse: collapse;
}

.shelf-life-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.shelf-life-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.storage-tips {
    background: var(--color-primary);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
}

.storage-tips h3 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.tip {
    background: rgba(255,255,255,0.1);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
}

.tip h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.tip p {
    margin-bottom: 0;
    opacity: 0.9;
}

.tip a {
    color: var(--color-accent);
}

.tip a:hover {
    color: white;
}

/* Products Section */
.products {
    padding: 4rem 0;
}

.product-category {
    margin-bottom: 3rem;
}

.product-category h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
}

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

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card.featured {
    border: 2px solid var(--color-primary);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-card h4 {
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
}

.product-card > p {
    color: var(--color-text-light);
    flex-grow: 1;
}

.product-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.product-card ul li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.product-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.product-link {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    transition: background 0.2s ease;
}

.product-link:hover {
    background: var(--color-primary-dark);
    color: white;
    text-decoration: none;
}

/* FAQ Section */
.faq {
    background: var(--color-surface);
    padding: 4rem 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.faq-item {
    background: var(--color-background);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

.faq-item p {
    margin-bottom: 0;
    color: var(--color-text-light);
}

/* Footer */
footer {
    background: var(--color-primary-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.affiliate-disclosure {
    font-size: 0.85rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        flex-direction: column;
        padding: 1rem 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
    }

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

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .method-content {
        grid-template-columns: 1fr;
    }

    .method-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat {
        flex: 1;
        min-width: 100px;
    }

    .herb-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .storage-grid,
    .product-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}

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

    .hero {
        padding: 2rem 0;
    }

    .method-card,
    .storage-card,
    .product-card,
    .herb-card,
    .faq-item {
        padding: 1.25rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .method-stats {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .mobile-menu-btn,
    .product-link {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
        background: white;
    }

    .hero {
        background: none;
        color: black;
        padding: 1rem 0;
    }

    .hero h1 {
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .method-card,
    .herb-card,
    .product-card,
    .faq-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
