/* Base styles */
:root {
    /* Primary color palette */
    --primary-color: #6a11cb;
    --primary-light: #7c35d8;
    --primary-dark: #5a0daf;
    --secondary-color: #2575fc;
    --accent-color: #fc2569;
    
    /* Neutral colors */
    --dark: #1a1a2e;
    --light: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    
    /* Sizes */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 10px;
    --btn-radius: 30px;
}

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

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--gray-100);
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 {
    font-size: 3rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    color: var(--dark);
}

h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
}

p {
    margin-bottom: 1rem;
}

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

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

/* Header */
.header {
    background-color: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
}

.logo-svg {
    margin-right: 10px;
}

.accent {
    color: var(--accent-color);
}

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

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--gray-800);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 500;
    text-align: center;
    border-radius: var(--btn-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--light);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, rgba(37, 117, 252, 0.05) 100%);
}

.hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero__content {
    flex: 1;
}

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

.hero__actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* About Section */
.about__content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.feature-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 20px;
}

/* Features Section */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

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

/* How It Works */
.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    display: flex;
    gap: 30px;
    align-items: center;
}

.step__number {
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.step__content {
    flex: 1;
}

.how-it-works__image {
    margin-top: 50px;
    text-align: center;
}

/* FAQ */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    background-color: var(--light);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* CTA Section */
.cta {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--light);
    text-align: center;
}

.cta h2 {
    color: var(--light);
    margin-bottom: 20px;
}

.cta-button {
    margin-top: 30px;
}

.btn-light {
    background-color: var(--light);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--gray-200);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
}

.footer__logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer__column h4 {
    margin-bottom: 20px;
    color: var(--light);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: var(--gray-300);
}

.footer__links a:hover {
    color: var(--light);
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray-300);
}

.footer__logo-image {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero__inner {
        flex-direction: column;
    }
    
    .hero__image {
        order: -1;
    }
    
    .about__content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header__inner {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
    
    .header {
        height: auto;
    }
    
    .nav {
        margin: 20px 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-list li {
        margin: 10px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero__actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .features__grid {
        grid-template-columns: 1fr;
    }
}
