/* Base Styles and Variables */
:root {
    --primary-color: #6a1b9a;
    --secondary-color: #9c27b0;
    --accent-color: #e040fb;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f8f8;
    --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

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

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

h1 {
    font-size: 2.5rem;
    color: var(--light-text);
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

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

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

.logo {
    width: 200px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

.logo-text {
    fill: var(--light-text);
    font-size: 18px;
    font-weight: bold;
}

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

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 600;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background: var(--gradient-bg);
    color: var(--light-text);
    padding: 5rem 0;
    text-align: center;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: var(--light-text);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    fill: var(--primary-color);
    width: 100%;
    height: 100%;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--dark-bg);
    padding: 5rem 0;
    color: var(--light-text);
}

.testimonials h2 {
    color: var(--light-text);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial cite {
    font-weight: 600;
    color: var(--accent-color);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--light-bg);
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-logo {
    width: 180px;
}

.footer-links ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links ul li {
    margin-left: 1.5rem;
}

.footer-links ul li a {
    color: var(--light-text);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    nav ul li {
        margin-left: 0.75rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 1.5rem;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .footer-links ul li {
        margin: 0 0.75rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature, .testimonial, .cta {
    animation: fadeIn 0.6s ease-out forwards;
}

.feature:nth-child(2) {
    animation-delay: 0.2s;
}

.feature:nth-child(3) {
    animation-delay: 0.4s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
