/* Global Styles */
:root {
    --primary-color: #5c258d;
    --secondary-color: #4389a2;
    --accent-color: #dc2430;
    --dark-color: #3a1c71;
    --light-color: #f5f5f5;
    --text-color: #333333;
    --text-light: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

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

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

section {
    padding: 80px 0;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
}

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

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

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

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

/* Hero Section */
.hero {
    background: var(--gradient);
    color: var(--text-light);
    padding: 100px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(220, 36, 48, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 36, 48, 0.4);
    color: var(--text-light);
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 20px;
}

/* How It Works Section */
.how-it-works {
    background-color: #fff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.step {
    text-align: center;
    padding: 20px;
}

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

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

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
}

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

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

.stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.user {
    font-weight: 600;
    margin-top: 20px;
    text-align: right;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
}

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

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

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

.footer-logo p {
    margin-top: 10px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h3 {
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

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

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

.footer-column ul li a {
    color: #ffffffcc;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    header .container {
        justify-content: center;
    }
    
    .feature-grid, .steps, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .cta-button {
        padding: 12px 24px;
    }
}
