:root {
    /* Main color scheme */
    --primary-color: #7a2cf0;
    --secondary-color: #fa4c6c;
    --background-color: #f9f9fb;
    --dark-text: #333342;
    --light-text: #75758a;
    --white: #ffffff;
    --light-border: #e6e6ef;
    
    /* Typography */
    --heading-font: 'Roboto', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --section-spacing: 6rem;
}

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

@font-face {
    font-family: 'Roboto';
    font-display: swap;
    src: url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
}

@font-face {
    font-family: 'Open Sans';
    font-display: swap;
    src: url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    color: var(--dark-text);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.wrapper {
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 5rem 1rem;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.button.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.button.primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(122, 44, 240, 0.2);
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

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

nav li {
    margin-left: 2rem;
}

nav a {
    color: var(--dark-text);
    font-weight: 500;
}

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

.mobile-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.mobile-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f0f2ff 0%, #ffeaf4 100%);
}

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

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
}

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

.hero-image {
    width: 100%;
    max-width: 500px;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    margin-top: 3rem;
}

.about-text {
    flex: 1;
}

.feature-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

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

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(122, 44, 240, 0.1);
    line-height: 1;
}

/* How To Section */
.how-to {
    background-color: var(--white);
    text-align: center;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.cta {
    margin-top: 3rem;
}

/* FAQ Section */
.faq {
    background-color: var(--background-color);
}

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

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* Footer */
footer {
    background-color: #2a2a35;
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand p {
    margin-bottom: 0.25rem;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 1rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background-color: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav li {
        margin: 0 0 1.5rem 2rem;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .mobile-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
