/* Base Styles and Variables */
:root {
    --primary-color: #8E2DE2;
    --secondary-color: #4A00E0;
    --accent-color: #B721FF;
    --text-color: #333333;
    --light-text: #FFFFFF;
    --dark-bg: #1A0B2E;
    --light-bg: #F9F6FF;
    --border-radius: 10px;
    --box-shadow: 0 10px 30px rgba(142, 45, 226, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Typography */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    margin-top: 0;
    line-height: 1.3;
    font-weight: 700;
    color: var(--dark-bg);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

/* Layout */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section:nth-child(even) {
    background-color: #f0eaff;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    position: relative;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: #555;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2.5rem;
}

.two-cols {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.three-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.3);
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    box-shadow: 0 7px 20px rgba(142, 45, 226, 0.4);
    color: var(--light-text);
}

.btn:hover::before {
    left: 0;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.btn-cta::before {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Header/Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(142, 45, 226, 0.1);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 25px rgba(142, 45, 226, 0.2);
}

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

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

.logo-text {
    font-size: 1.5rem;
    margin-left: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin-left: 2.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    border-radius: 2px;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(142, 45, 226, 0.05), rgba(74, 0, 224, 0.05));
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 30% 30%, rgba(183, 33, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 70% 70%, rgba(74, 0, 224, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #555;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(142, 45, 226, 0.2) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

/* Feature Cards */
.feature-card {
    background-color: #fff;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(142, 45, 226, 0.2);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(142, 45, 226, 0.1), rgba(74, 0, 224, 0.1));
    border-radius: 50%;
}

/* Process Steps */
.step-card {
    background-color: #fff;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
    z-index: 1;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent 50%, rgba(142, 45, 226, 0.05) 50%);
    z-index: -1;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(142, 45, 226, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

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

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(142, 45, 226, 0.2);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.gallery-caption {
    padding: 1.5rem;
    background-color: #fff;
    text-align: center;
}

/* FAQ Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accordion-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: 0 10px 25px rgba(142, 45, 226, 0.2);
}

.accordion-header {
    padding: 1.75rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    transition: var(--transition);
}

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

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

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

.accordion-body {
    padding: 0 1.75rem 1.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, rgba(142, 45, 226, 0.05), rgba(74, 0, 224, 0.05));
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    text-align: center;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.cta-description {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.btn-cta {
    background: #fff;
    color: var(--primary-color);
}

.btn-cta:hover {
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-cta::before {
    background: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #bbb;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse at top right, rgba(142, 45, 226, 0.2), transparent 70%);
    z-index: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-about {
    max-width: 400px;
}

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

.footer-title {
    font-size: 1.3rem;
    color: #fff;
    margin: 0 0 1.5rem;
    margin-left: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: #bbb;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #777;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 15px 20px rgba(142, 45, 226, 0.1);
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 1.5rem 0;
        align-items: center;
    }
    
    .nav-menu li {
        margin: 0.75rem 0;
    }
    
    .nav.active {
        height: auto;
    }
    
    .two-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-title::after {
        width: 80px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
