:root {
    --pastel-purple: #D8BFD8;
    --light-purple: #E6E6FA;
    --medium-purple: #9370DB;
    --dark-purple: #663399;
    --white: #FFFFFF;
    --black: #333333;
    --gray: #777777;
    --light-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-purple);
    color: var(--black);
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 20px;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-purple);
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 20px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 12px;
}

.nav-links a:hover {
    color: var(--medium-purple);
}

.login-btn {
    color: var(--medium-purple);
    font-weight: 600;
}

.signup-btn {
    background-color: var(--medium-purple);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.signup-btn:hover {
    background-color: var(--dark-purple);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-purple);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, var(--pastel-purple), var(--light-purple));
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-purple);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--gray);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    display: inline-block;
    background-color: var(--medium-purple);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(147, 112, 219, 0.3);
}

.cta-button:hover {
    background-color: var(--dark-purple);
    transform: translateY(-3px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--dark-purple);
    border: 2px solid var(--dark-purple);
    box-shadow: none;
}

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

/* Features Section */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-purple);
    font-size: 2rem;
}

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

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

.feature-card {
    background-color: var(--light-purple);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(147, 112, 219, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--medium-purple);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-purple);
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 15px;
    color: var(--dark-purple);
}

.contact-methods {
    margin-top: 30px;
}

.contact-methods p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-methods i {
    margin-right: 10px;
    color: var(--medium-purple);
    width: 20px;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    color: var(--white);
    font-size: 28px;
}

.footer-logo p {
    margin-top: 15px;
    opacity: 0.8;
}

.footer-links h3,
.footer-social h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: translateY(-5px);
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--medium-purple);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--light-purple);
    transform: translateY(-5px);
}

.back-to-top i {
    color: white;
}