/* Base Styles */
:root {
    --primary-color: #7e3af2;
    --secondary-color: #9061f9;
    --text-color: #333;
    --light-text: #777;
    --background: #fff;
    --background-alt: #f9f7ff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px rgba(126, 58, 242, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Header Styles */
header {
    background-color: var(--background);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

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

.site-logo {
    height: auto;
}

nav ul {
    display: flex;
}

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

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

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

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f0ff 0%, #e6e0f8 100%);
    padding: 80px 0;
}

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

.hero-content {
    width: 50%;
}

.hero-image {
    width: 45%;
    display: flex;
    justify-content: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero h1 span {
    color: var(--primary-color);
    display: block;
}

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

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

.cta-button:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(126, 58, 242, 0.2);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
}

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

.cta-button.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

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

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.feature-card {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--background);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--light-text);
}

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

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

.about-content {
    width: 50%;
}

.about-image {
    width: 45%;
    display: flex;
    justify-content: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.about p {
    margin-bottom: 20px;
    color: var(--light-text);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.cta .cta-button:hover {
    background: transparent;
    color: white;
}

/* Footer */
footer {
    background-color: var(--background);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    width: 30%;
}

.footer-logo p {
    margin-top: 20px;
    color: var(--light-text);
    font-size: 0.9rem;
}

.footer-links {
    width: 65%;
    display: flex;
    justify-content: space-between;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-section ul li a {
    color: var(--light-text);
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--light-text);
    font-size: 0.85rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--background);
        box-shadow: var(--shadow);
        padding: 20px 0;
        clip-path: circle(0% at top right);
        transition: clip-path 0.5s ease;
    }
    
    nav.active {
        clip-path: circle(150% at top right);
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero .container, .about .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image, .about-content, .about-image {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .hero-image, .about-image {
        order: -1;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .features, .about, .cta {
        padding: 50px 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links {
        width: 100%;
    }
    
    .footer-logo {
        margin-bottom: 30px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    .cta-button.large {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
