/* Base styles and variables */
:root {
    --primary-color: #166534; /* Forest green */
    --secondary-color: #ca8a04; /* Gold */
    --gradient-start: var(--primary-color);
    --gradient-end: var(--secondary-color);
    --text-color: #1f2937;
    --text-light: #4b5563;
    --text-lighter: #6b7280;
    --bg-color: #ffffff;
    --bg-alt: #f0fdf4; /* Light green bg */
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
    margin-bottom: 1.5rem;
}

.lead {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    margin: 20px auto 0;
    border-radius: 3px;
}

.highlight {
    background: linear-gradient(transparent 80%, rgba(202, 138, 4, 0.3) 80%);
    padding: 0 4px;
}

/* Links and Buttons */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-start));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: white;
}

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

.btn-secondary:hover {
    background-color: rgba(22, 101, 52, 0.05);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Header and Navigation */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 900;
}

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

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav a {
    font-weight: 700;
    position: relative;
}

.nav a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: bottom right;
}

.nav a:hover:after,
.nav a.active:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 21px;
    position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle-label span {
    top: 9px;
}

.nav-toggle-label span::before {
    content: '';
    top: -9px;
}

.nav-toggle-label span::after {
    content: '';
    top: 9px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    background-color: var(--bg-color);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-visual {
    flex: 1;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: -1;
}

.hero-wave svg {
    display: block;
    width: calc(130% + 1.3px);
    height: 80px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.process {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Features Section */
.features {
    position: relative;
    padding: 6rem 0;
    background-color: var(--bg-color);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.features-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: -1;
}

.features-wave svg {
    display: block;
    width: calc(130% + 1.3px);
    height: 80px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Generator Preview Section */
.generator-preview {
    padding: 6rem 0;
    background-color: var(--bg-alt);
}

.generator-showcase {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.generator-interface {
    flex: 1.5;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.generator-info {
    flex: 1;
}

.check-list {
    list-style: none;
    margin-bottom: 2rem;
}

.check-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.check-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-list li:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    width: 6px;
    height: 3px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.testimonials-container {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--bg-alt);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 2rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    text-align: center;
    color: white;
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    flex: 2;
}

.footer-logo {
    margin-bottom: 1rem;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .process {
        flex-direction: column;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .generator-showcase {
        flex-direction: column;
    }
    
    .generator-info {
        order: -1;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .check-list {
        text-align: left;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .testimonials-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-toggle-label {
        display: block;
        z-index: 1001;
    }
    
    .nav {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-toggle:checked ~ .nav {
        transform: translateX(0);
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background-color: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
}
