:root {
    --primary-color: #8a2be2;
    --secondary-color: #9932cc;
    --accent-color: #da70d6;
    --background-color: #f8f9fa;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #222;
    --card-bg: #ffffff;
    --shadow: 0 4px 15px rgba(138, 43, 226, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Header Styles */
header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-container h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

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

/* Main Content */
main {
    padding-top: 6rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(153, 50, 204, 0.05) 100%);
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

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

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    border: 2px solid var(--primary-color);
}

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

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

/* Features Section */
.features {
    padding: 5rem 2rem;
    background-color: var(--card-bg);
    max-width: 1200px;
    margin: 3rem auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.feature-card {
    padding: 2rem;
    text-align: center;
    background-color: var(--background-color);
    border-radius: 10px;
    transition: var(--transition);
}

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

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

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

.feature-card p {
    font-size: 1rem;
}

/* How it Works Section */
.how-it-works {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.step {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

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

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

/* Premium Section */
.premium {
    padding: 5rem 2rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    border-radius: 15px;
    max-width: 1200px;
    margin: 3rem auto;
}

.premium h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.premium-features {
    max-width: 600px;
    margin: 0 auto;
}

.premium-features ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    padding-left: 2rem;
}

.premium-features ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.premium-features ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

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

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

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

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

.keywords {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding: 3rem 1.5rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .steps {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    .logo-container h1 {
        font-size: 1.2rem;
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        padding: 1rem;
        box-shadow: var(--shadow);
        z-index: 1000;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .features h2, .how-it-works h2, .premium h2 {
        font-size: 1.8rem;
    }
    
    .step {
        min-width: unset;
    }
}
