/* Base styles and reset */
:root {
    --primary-color: #FF5E82;
    --secondary-color: #4A6CFA;
    --tertiary-color: #2DD4BF;
    --dark-color: #333;
    --light-color: #f8f8f8;
    --gray-color: #6c757d;
    --white-color: #ffffff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

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

ul {
    list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--box-shadow);
}

.cta-button:hover {
    background-color: #e54b6f;
    transform: translateY(-3px);
}

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

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

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.logo-svg {
    margin-right: 10px;
}

.main-nav {
    display: none;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
}

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

.menu-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 11px;
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* Hero section */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-visual {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

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

.feature-icon {
    margin: 0 auto 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
}

/* How it works section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--light-color);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

.step {
    text-align: center;
}

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

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

/* Testimonials section */
.testimonials {
    padding: 80px 0;
    background-color: var(--white-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

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

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

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section h2:after {
    background-color: var(--white-color);
}

.cta-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

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

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

/* Footer */
.footer {
    padding: 60px 0 20px;
    background-color: #272727;
    color: var(--light-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 10px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-links h3 {
    margin-bottom: 20px;
    color: var(--white-color);
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #adb5bd;
    transition: var(--transition);
}

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

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

/* Media queries */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .main-nav {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps {
        flex-direction: row;
        justify-content: space-between;
    }

    .step {
        flex: 1;
    }

    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        width: 50%;
    }
}

@media (min-width: 992px) {
    .hero .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 60px;
    }

    .hero-content {
        text-align: left;
        flex: 1;
        margin-bottom: 0;
    }

    .hero-visual {
        flex: 1;
    }

    .hero p {
        margin-left: 0;
    }
}
