/* Base Styles */
:root {
    --primary-color: #7E57C2;
    --secondary-color: #5E35B1;
    --accent-color: #9C27B0;
    --text-color: #333333;
    --light-text: #ffffff;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --transition-speed: 0.3s;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

section {
    padding: 5rem 0;
}

/* Header Styles */
header {
    background-color: var(--card-background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo {
    margin-right: 1rem;
}

header h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

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

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

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

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

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all var(--transition-speed);
}

/* Hero Section */
.hero {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
}

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

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

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

.cta-button {
    display: inline-block;
    background-color: var(--light-text);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
}

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

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

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

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

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.step {
    flex-basis: calc(33.333% - 2rem);
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* About Section */
.about {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.about h2 {
    color: var(--light-text);
}

.about .cta-button {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.about .cta-button:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
}

/* Footer */
footer {
    background-color: #343a40;
    color: var(--light-text);
    padding: 3rem 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: bold;
    margin-left: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-column {
    margin-right: 4rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #bbb;
    transition: color var(--transition-speed);
}

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

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.copyright p {
    margin: 0;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero h2 {
        text-align: center;
    }

    .step {
        flex-basis: calc(50% - 1rem);
        margin-bottom: 2rem;
    }
    
    .footer-column {
        margin-right: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--card-background);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path var(--transition-speed);
        z-index: 1000;
    }
    
    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0.5rem 1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        flex-basis: 100%;
        margin-bottom: 2rem;
    }
    
    footer .container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    header h1 {
        font-size: 1.2rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}
