/* Base styles and reset */
:root {
    --primary: #3CAEA3;
    --primary-dark: #2A9187;
    --secondary: #173753;
    --light: #F2F7F7;
    --light-accent: #CCDEDC;
    --gray: #718096;
    --dark: #2D3748;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}

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

img, svg {
    max-width: 100%;
}

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

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 4rem 0;
}

/* Header styles */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    width: 120px;
}

.logo-svg, .footer-logo-svg {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--secondary);
    font-weight: 600;
}

nav ul li a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: var(--secondary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    padding: 6rem 0;
    background-color: white;
}

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

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.before-after-svg {
    max-width: 100%;
    height: auto;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}

/* Button styles */
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(60, 174, 163, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(60, 174, 163, 0.4);
}

.cta-button.outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.cta-button.outline:hover {
    background-color: var(--primary);
    color: white;
}

.cta-button.large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.cta-container {
    text-align: center;
    margin-top: 2rem;
}

/* How it works section */
.how-it-works {
    background-color: white;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 2rem;
    background-color: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

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

.step-icon {
    margin-bottom: 1.5rem;
}

.step-svg {
    width: 60px;
    height: 60px;
}

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

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

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.feature-svg {
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

/* Examples section */
.examples {
    background-color: white;
}

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

.example-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.example-image {
    padding: 1.5rem 1.5rem 0;
}

.example-svg {
    width: 100%;
    height: auto;
}

.example-text {
    padding: 1.5rem;
}

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

.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Footer styles */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 3rem 0;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    .steps {
        flex-direction: column;
        max-width: 500px;
        margin: 3rem auto;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: var(--box-shadow);
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    nav.active {
        height: auto;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 0.75rem 1.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
        margin-bottom: 1.5rem;
    }
}
