/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6e57e0;
    --primary-light: #b19dff;
    --primary-dark: #4b3ca7;
    --accent-color: #ff6b8b;
    --bg-light: #f8f0ff;
    --bg-dark: #2a2040;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --gray-light: #f1f1f1;
    --gray: #d0d0d0;
}

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

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-dark);
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

/* Header Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 2rem;
}

/* Hero Section */
.hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, #ffffff, var(--bg-light));
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    max-width: 540px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(110, 87, 224, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(110, 87, 224, 0.4);
    color: var(--text-light);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #ffffff;
}

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

.feature-card {
    background-color: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.step {
    text-align: center;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

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

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

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: #ffffff;
}

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

.faq-item {
    background-color: var(--gray-light);
    padding: 1.5rem;
    border-radius: 10px;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
}

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

.cta-section .cta-button {
    background: var(--text-light);
    color: var(--primary-color);
    margin-top: 1rem;
}

.cta-section .cta-button:hover {
    background: var(--gray-light);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-logo span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-light);
}

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

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-visual {
        display: flex;
        justify-content: center;
        order: -1;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cta-button {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .feature-card, .step, .faq-item {
        padding: 1.5rem;
    }
}
