/* Base Styles */
:root {
    --primary: #16A34A;
    --primary-light: #dcfce7;
    --primary-dark: #14532d;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2:after {
    content: "";
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0;
}

p {
    margin-bottom: 20px;
    color: var(--gray);
}

.subheading {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: -20px auto 40px;
}

/* Button styles */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary.large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Header styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 200px;
    height: 40px;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.menu a:hover {
    color: var(--primary);
}

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

.menu a:hover:after {
    width: 100%;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
}

.menu-icon span {
    height: 2px;
    background-color: var(--dark);
    margin-bottom: 5px;
    transition: var(--transition);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2316A34A' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 30px;
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero p {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 40px;
    opacity: 0.8;
}

/* About section */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
}

.about-visual svg {
    max-width: 100%;
    height: auto;
}

/* How It Works section */
.how-it-works {
    background-color: var(--primary-light);
    position: relative;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto;
    max-width: 1000px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    margin-bottom: 20px;
}

.step-icon svg {
    width: 80px;
    height: 80px;
}

/* Features section */
.features {
    background-color: var(--white);
}

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

.feature {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 60px;
    height: 60px;
}

/* Testimonials section */
.testimonials {
    background-color: var(--primary-light);
    position: relative;
}

.testimonials-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 350px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.author {
    text-align: right;
    font-weight: 600;
    color: var(--primary);
}

/* Pricing section */
.pricing {
    background-color: var(--white);
    text-align: center;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.benefits {
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}

.benefits li {
    margin-bottom: 15px;
    color: var(--gray);
}

/* FAQ section */
.faq {
    background-color: var(--primary-light);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--light);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    transition: var(--transition);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background-color: var(--white);
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 200px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 70px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    max-width: 300px;
}

.footer-logo p {
    color: var(--gray);
    margin-top: 20px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.link-column h4 {
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.link-column h4:after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.link-column ul li {
    margin-bottom: 12px;
}

.link-column ul li a {
    color: var(--gray);
    transition: var(--transition);
}

.link-column ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-small svg {
    width: 50px;
    height: 50px;
}

/* Responsive styles */
@media (max-width: 991px) {
    .steps {
        flex-direction: column;
        max-width: 500px;
    }
    
    .step {
        margin-bottom: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .about-visual svg {
        max-width: 70%;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 40px;
        text-align: center;
        max-width: 100%;
    }
    
    .footer-links {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .menu {
        display: none;
    }
    
    .menu-icon {
        display: flex;
    }
    
    #menu-toggle:checked ~ .menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    
    .menu li {
        margin-bottom: 15px;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .link-column {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .link-column h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
