/* Green Style - Shared styles for green-themed pages */

/* CSS Variables */
:root {
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #666666;
    --color-text-muted: #999999;
    --color-bg-light: #fafafa;
    --color-bg-white: #ffffff;
    --color-accent: #078634;
    --color-accent-hover: #236c3e;
    --color-border: #e5e5e5;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
}

/* Reset page banner */
.page-banner {
    display: none;
}

.page-content {
    padding: 0;
}

/* Typography */
body {
    font-family: var(--font-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
}

/* Common Buttons */
.green-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: var(--color-bg-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--color-accent);
}

.green-button:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-bg-white);
    text-decoration: none;
    transform: translateY(-2px);
}

.green-button-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--color-accent);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--color-accent);
}

.green-button-outline:hover {
    background: var(--color-accent);
    color: var(--color-bg-white);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Common Section Styles */
.green-section {
    padding: var(--spacing-xxl) var(--spacing-md);
}

.green-section:nth-child(even) {
    background: var(--color-bg-light);
}

.green-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.green-section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Tag */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: transparent;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--color-accent);
}

/* Common Hero Styles */
.green-hero {
    padding: var(--spacing-xxl) var(--spacing-md);
    background: var(--color-bg-white);
    text-align: center;
}

.green-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.green-hero-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.green-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

.green-hero-subtitle p {
    margin-bottom: 0.5rem;
}

.green-hero-subtitle p:last-child {
    margin-bottom: 0;
}

/* Common Card Styles */
.green-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.green-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Common Icon Styles */
.green-icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.green-icon-circle-outline {
    background-color: transparent;
    border: 2px solid var(--color-accent);
}

.green-icon-circle-outline svg {
    stroke: var(--color-accent);
}

.green-icon-circle-filled {
    background-color: var(--color-accent);
}

.green-icon-circle-filled svg {
    stroke: #fff;
}

.green-icon-circle svg {
    width: 28px;
    height: 28px;
}

/* Common Feature List */
.green-feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.green-feature-item {
    font-size: 1rem;
    color: var(--color-text-secondary);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.green-feature-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Common FAQ Styles */
.green-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.green-faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
}

.green-faq-item:last-child {
    border-bottom: none;
}

.green-faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    list-style: none;
    padding-right: 2rem;
    position: relative;
    transition: color 0.3s ease;
}

.green-faq-question::-webkit-details-marker {
    display: none;
}

.green-faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.green-faq-item[open] .green-faq-question::after {
    transform: rotate(45deg);
}

.green-faq-question:hover {
    color: var(--color-accent);
}

.green-faq-answer {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-top: var(--spacing-md);
    padding-right: 2rem;
}

/* Common Grid Layouts */
.green-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.green-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.green-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* Common Text Content */
.green-text-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.green-text-center p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.green-text-center p:last-child {
    margin-bottom: 0;
}

/* Rich Editor Content Styles */
.green-rich-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

.green-rich-content a:hover {
    color: var(--color-accent-hover);
}

.green-rich-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.green-rich-content ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.green-rich-content li {
    margin-bottom: 0.25rem;
}

.green-rich-content p {
    margin-bottom: 0.5rem;
}

.green-rich-content p:last-child {
    margin-bottom: 0;
}

.green-rich-content strong {
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-xxl: 3rem;
        --spacing-xl: 2.5rem;
        --spacing-lg: 2rem;
    }

    .green-hero {
        padding: var(--spacing-xl) var(--spacing-sm);
    }

    .green-hero-title {
        font-size: 2rem;
    }

    .green-hero-subtitle {
        font-size: 1.125rem;
    }

    .green-section {
        padding: var(--spacing-xl) var(--spacing-sm);
    }

    .green-section-title {
        font-size: 1.75rem;
    }

    .green-grid-2,
    .green-grid-3,
    .green-grid-4 {
        grid-template-columns: 1fr;
    }

    .green-button,
    .green-button-outline {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .green-hero-title {
        font-size: 1.75rem;
    }

    .green-section-title {
        font-size: 1.5rem;
    }

    .green-button,
    .green-button-outline {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}
