/* Modern CSS with green theme - Reset and Base Styles */
:root {
    --primary-color: #1DB954;
    --primary-dark: #168d40;
    --primary-light: #1ED760;
    --accent-color: #ffcc00;
    --text-light: #FFFFFF;
    --text-dark: #121212;
    --text-muted: #7f8c8d;
    --bg-dark: #121212;
    --bg-light: #FFFFFF;
    --bg-grey: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #1DB954 0%, #1ED760 100%);
    --shadow-soft: 0 4px 12px rgba(29, 185, 84, 0.1);
    --shadow-medium: 0 8px 24px rgba(29, 185, 84, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition-normal: all 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.8em;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h1 span {
    color: var(--primary-color);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
}

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

section {
    padding: 5rem 0;
}

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

.header-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.logo-svg {
    fill: var(--primary-color);
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
}

.nav-link.cta:hover {
    background-color: transparent;
    color: var(--primary-color);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition-normal);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem;
}

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

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 1.5rem 0 2.5rem;
    color: var(--text-muted);
}

.hero-visual {
    flex: 1;
    max-width: 500px;
}

.primary-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
    color: white;
}

/* Features Section */
.features {
    background-color: var(--bg-grey);
    text-align: center;
    padding: 6rem 0;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card h3 {
    margin-bottom: 1rem;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.step {
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -15%;
    width: 30%;
    height: 2px;
    background-color: var(--primary-color);
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.action-box {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-top: 4rem;
}

.action-box h3 {
    margin-bottom: 1.5rem;
}

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

.action-box .primary-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

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

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

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.user {
    color: var(--primary-color);
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--bg-grey);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

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

.cta-section h2 {
    color: white;
}

.cta-section h2:after {
    background: white;
}

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

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

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

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

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-logo-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    h2:after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 101;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-light);
        flex-direction: column;
        padding: 100px 40px 0;
        transition: var(--transition-normal);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .action-box {
        padding: 2rem 1rem;
    }
}
