/* Base Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ffafaf;
    --light-color: #fff5f5;
    --dark-color: #c74545;
    --text-color: #333333;
    --bg-color: #ffffff;
    --gray-bg: #f9f9f9;
    --shadow: 0 5px 15px rgba(255, 107, 107, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-sm: 6px;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-svg {
    margin-right: 0.75rem;
}

h1 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

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

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

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

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

nav a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4rem 5%;
    gap: 2rem;
    align-items: center;
    min-height: 500px;
    background: linear-gradient(to bottom right, var(--light-color), white);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    max-width: 500px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--dark-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.2);
    transition: var(--transition);
    max-width: max-content;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4);
    color: white;
}

.cta-button.large {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background-color: var(--bg-color);
}

.features h2, .how-it-works h2, .testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background-color: white;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.15);
}

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

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: #666;
}

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

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0 auto 3rem;
    max-width: 1200px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 2rem;
    text-align: center;
    position: relative;
}

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

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

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

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background-color: white;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

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

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

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

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    background: linear-gradient(to right, var(--primary-color), var(--dark-color));
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

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

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

.cta-section .cta-button:hover {
    background: var(--light-color);
    color: var(--dark-color);
}

/* Footer */
footer {
    background-color: #333;
    color: #f5f5f5;
    padding: 4rem 5% 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-branding p {
    font-weight: 600;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.2rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column a {
    color: #ccc;
}

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

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (min-width: 992px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer-links {
        flex-grow: 1;
        justify-content: flex-end;
    }
}

@media (max-width: 991px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
        align-items: center;
    }
    
    .hero-visual {
        order: 0;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 5%;
    }
    
    nav {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul {
        width: 100%;
        justify-content: space-around;
        margin-bottom: 1rem;
    }
    
    .features h2, .how-it-works h2, .testimonials h2, .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-card, .testimonial {
        padding: 1.5rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .cta-button.large {
        padding: 1rem 2rem;
    }
}
