/* Base Styles and CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Primary Colors */
    --primary-color: #8E44AD;
    --primary-light: #9B59B6;
    --primary-dark: #703688;
    --secondary-color: #E1BEE7;
    --accent-color: #FF4081;
    
    /* Neutrals */
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    
    /* UI Elements */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.2) 0%, rgba(155, 89, 182, 0.05) 100%);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0% 100%);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

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

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

ul {
    list-style: none;
}

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

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.section-title span {
    color: var(--primary-color);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-light);
    border-radius: 3px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    margin-bottom: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.site-title span {
    font-weight: 400;
    opacity: 0.7;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

.nav-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 20;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    margin-bottom: 5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-content h2 span {
    color: var(--primary-color);
    position: relative;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

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

/* Buttons */
.primary-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.ghost-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.ghost-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.primary-button.large,
.ghost-button.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    margin-bottom: 5rem;
    box-shadow: var(--shadow-sm);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Features Section */
.features-section {
    padding: 5rem 2rem;
    margin-bottom: 5rem;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* Experience Section */
.experience-section {
    padding: 5rem 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    margin-bottom: 5rem;
    box-shadow: var(--shadow-sm);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    flex: 1;
    min-width: 230px;
    text-align: center;
}

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

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 2rem;
    margin-bottom: 5rem;
}

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

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 0;
    left: 1rem;
    font-size: 5rem;
    color: var(--secondary-color);
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.author {
    font-weight: 600;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-lg);
    margin-bottom: 5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

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

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    padding: 4rem 2rem 1rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand-name {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.footer-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.footer-links h3,
.footer-newsletter h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-newsletter p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.footer-cta:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .hero,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        flex-direction: column;
        background-color: var(--bg-white);
        padding: 6rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 10;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    header {
        padding: 1rem;
    }
    
    .hero,
    .about-section,
    .features-section,
    .experience-section,
    .testimonials-section,
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links-container {
        grid-template-columns: 1fr;
    }
}
