/* Base Styles and Variables */
:root {
    --primary-color: #9933FF;
    --secondary-color: #FF3366;
    --accent-color: #33CCFF;
    --dark-bg: #1A1A2E;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --light-text: #fff;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    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: linear-gradient(135deg, var(--light-bg) 0%, #e9ecef 100%);
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.8em;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-bg);
    position: relative;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

section {
    padding: 80px 0;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 0;
}

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

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: var(--transition);
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2A2A42 100%);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(153, 51, 255, 0.2) 0%, rgba(255, 51, 102, 0.1) 50%, rgba(51, 204, 255, 0.05) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--light-text);
    text-align: left;
}

.hero-content h2:after {
    left: 0;
    transform: none;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.6);
    color: var(--light-text);
}

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

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

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

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

.feature-card svg {
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

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

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

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

.step {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    text-align: center;
    position: relative;
}

.step:not(:last-child):after {
    content: "";
    position: absolute;
    top: 40px;
    right: 0;
    width: 70%;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color), transparent);
    transform: translateX(50%);
}

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

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

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

/* FAQ Section */
.faq {
    background-color: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-bg);
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    padding: 20px;
    background-color: rgba(153, 51, 255, 0.05);
    color: var(--dark-bg);
    font-size: 1.2rem;
    margin-bottom: 0;
    cursor: pointer;
    position: relative;
}

.faq-item p {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

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

.footer-logo p {
    font-size: 1.2rem;
    font-weight: bold;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-copyright {
    margin-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content h2 {
        text-align: center;
        font-size: 2.5rem;
    }
    
    .hero-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .step {
        padding: 20px 0;
    }
}
