/* Base Styles */
:root {
    --primary-color: #7e57c2;
    --primary-dark: #5e35b1;
    --primary-light: #b39ddb;
    --accent-color: #ff4081;
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #f9f9f9;
    --white: #ffffff;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.2rem;
    color: var(--white);
}

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

h2 span {
    color: var(--accent-color);
}

h3 {
    font-size: 1.4rem;
    margin-top: 0.5em;
}

p {
    margin-bottom: 1em;
    color: var(--text-light);
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Header */
header {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

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

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

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

.logo h1 span {
    color: var(--primary-light);
}

nav {
    display: flex;
    align-items: center;
}

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

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
}

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

.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.cta-button:hover {
    background-color: darken(var(--accent-color), 10%);
    transform: translateY(-2px);
    color: white;
}

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

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: #f0ebfa;
    padding: 140px 0 80px;
    overflow: hidden;
    position: relative;
}

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

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    color: var(--white);
}

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    display: inline-block;
}

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

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

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

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

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--background-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Technology Section */
.technology {
    padding: 80px 0;
}

.technology-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-box {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

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

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

.accordion-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--white);
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 200px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

.cta p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

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

.footer-logo p {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 10px;
    margin-bottom: 0;
}

.footer-logo p span {
    color: var(--primary-light);
}

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

.footer-link-group h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-link-group ul {
    list-style: none;
}

.footer-link-group ul li {
    margin-bottom: 10px;
}

.footer-link-group ul li a {
    color: #999;
    transition: color 0.3s ease;
}

.footer-link-group ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        padding-bottom: 40px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 300px;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 20px;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav .cta-button {
        margin: 10px 20px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

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

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .feature-card, .tech-box {
        padding: 20px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
