/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6C5CE7;
    --primary-light: #A29BFE;
    --dark: #2D3436;
    --light: #F0F3FF;
    --white: #FFFFFF;
    --gray: #B2BEC3;
    --gradient: linear-gradient(135deg, #6C5CE7, #8E44AD);
}

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

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

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

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 15px;
}

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

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

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

.logo h1 {
    font-size: 1.6rem;
    margin-bottom: 0;
    margin-left: 10px;
    color: var(--primary);
}

.logo span {
    font-weight: 300;
    color: var(--dark);
}

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

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

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

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h2 {
    font-size: 3rem;
    text-align: left;
    margin-bottom: 20px;
}

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

.hero-text span {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark);
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

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

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--light);
}

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

.step {
    flex-basis: 30%;
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

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

.step h3 {
    margin-bottom: 15px;
}

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

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--white);
}

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

.accordion-item {
    border-bottom: 1px solid var(--gray);
    margin-bottom: 20px;
}

.accordion-header {
    padding: 20px 0;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    position: relative;
    font-weight: 600;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-header.active::after {
    transform: rotate(45deg);
    content: '+';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 20px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.3);
}

/* Footer */
footer {
    padding: 50px 0 30px;
    background: var(--dark);
    color: var(--white);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo p {
    margin-left: 10px;
    margin-bottom: 0;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

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

.footer-copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 991px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-text h2 {
        text-align: center;
    }
    
    .hero-text h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .step {
        flex-basis: 100%;
    }
    
    nav ul {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
