/* Global Styles */
:root {
    --color-bg: #f7f7f7;
    --color-text: #333333;
    --color-primary: #3a7d44;
    --color-accent: #ffc857;
    --color-nav: #2c3e50;
    --font-sans: 'Arial', sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-sans);
    line-height: 1.6;
    background: var(--color-bg);
    color: var(--color-text);
}
a {
    color: var(--color-primary);
    text-decoration: none;
}
h1, h2, h3, h4 {
    color: var(--color-text);
    margin-bottom: 0.5em;
}
header {
    background: var(--color-bg);
    padding: 1em 2em;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-text);
}
.logo strong {
    color: var(--color-primary);
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}
.nav-links li {
    margin-left: 1.5em;
}
.nav-links a {
    padding: 0.5em 1em;
    border-radius: 4px;
    display: block;
}
.nav-links a:hover, .nav-links a.active {
    background: var(--color-accent);
    color: #fff;
}
.nav-links .cta a {
    background: var(--color-primary);
    color: #fff;
}
.nav-links .cta a:hover {
    background: #2c5d31;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    opacity: 0.85;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 1em;
}
.hero h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}
.hero p {
    font-size: 1.1em;
    margin-bottom: 1em;
}
.btn {
    display: inline-block;
    padding: 0.75em 1.5em;
    border-radius: 5px;
    font-weight: bold;
}
.btn-primary {
    background: var(--color-primary);
    color: #fff;
}
.btn-primary:hover {
    background: #2c5d31;
}

/* Canvas for hero */
#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Features section */
.features {
    padding: 3em 2em;
    text-align: center;
}
.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    margin-top: 2em;
}
.feature-item {
    background: #fff;
    padding: 2em;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.feature-item h3 {
    margin-bottom: 0.5em;
}

/* Pricing */
.pricing {
    padding: 3em 2em;
    background: #fff;
    text-align: center;
}
.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    margin-top: 2em;
}
.card {
    background: #fafafa;
    padding: 1.5em;
    border-radius: 8px;
    width: 260px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}
.card h3 {
    margin-bottom: 0.5em;
}
.card .price {
    font-size: 2em;
    color: var(--color-primary);
}
.card .per {
    font-size: 0.5em;
}
.card ul {
    list-style: none;
    text-align: left;
    margin-top: 1em;
}
.card ul li {
    margin-bottom: 0.5em;
}
.card.recommended {
    border-color: var(--color-primary);
}
.card.recommended h3, .card.recommended .price {
    color: var(--color-accent);
}
.note {
    font-size: 0.9em;
    color: #666;
    margin-top: 1em;
}

/* Partners */
.partners {
    padding: 3em 2em;
    text-align: center;
}
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em;
    margin-top: 2em;
}
.partner-item {
    background: #fff;
    padding: 1em 2em;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Testimonials */
.testimonials {
    padding: 3em 2em;
    background: var(--color-bg);
    text-align: center;
}
.testimonial-carousel {
    display: flex;
    flex-direction: column;
    gap: 2em;
    margin-top: 2em;
}
.testimonial {
    max-width: 600px;
    margin: 0 auto;
}
.testimonial p {
    font-style: italic;
    font-size: 1.1em;
}
.testimonial h4 {
    margin-top: 0.5em;
    color: var(--color-text);
}

/* Page Hero */
.page-hero {
    padding: 3em 2em;
    text-align: center;
    background: var(--color-primary);
    color: #fff;
}
.page-hero h1 {
    margin: 0;
    font-size: 2em;
}

/* About page */
.about {
    padding: 2em;
    max-width: 800px;
    margin: auto;
}
.about p {
    margin-bottom: 1em;
}
.team {
    padding: 2em;
    background: #fff;
}
.team-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
}
.team-member {
    text-align: center;
}
.avatar {
    width: 100px;
    height: 100px;
    background: var(--color-primary);
    border-radius: 50%;
    margin-bottom: 0.5em;
}

/* Blog */
.blog-posts {
    padding: 2em;
    max-width: 800px;
    margin: auto;
}
.post {
    margin-bottom: 2em;
}
.post h2 {
    margin-bottom: 0.2em;
}
.post em {
    font-size: 0.9em;
    color: #666;
}
.read-more {
    display: inline-block;
    margin-top: 0.5em;
    font-weight: bold;
    color: var(--color-primary);
}

/* Footer */
footer {
    background: var(--color-nav);
    color: #fff;
    padding: 2em 2em;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2em;
}
.footer-col {
    min-width: 150px;
}
.footer-col h3 {
    margin-bottom: 0.5em;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.5em;
}
.footer-col a {
    color: #fff;
}
.footer-note {
    margin-top: 1em;
    text-align: center;
    font-size: 0.8em;
    color: #ccc;
}
@media (max-width: 768px) {
    .features-list, .pricing-cards, .team-list {
        flex-direction: column;
        align-items: center;
    }
    .nav-links li {
        margin-left: 0.5em;
    }
    .nav-links {
        font-size: 0.9em;
    }
}