:root {
    --primary-color: #6a5acd; /* A nice shade of purple */
    --secondary-color: #f0e6ff;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --text-color: #555;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: var(--secondary-color);
}


/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 5%;
    min-height: 90vh;
    gap: 2rem;
    background-color: var(--secondary-color);
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

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

.hero-content h1 {
    font-size: 3rem;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 90, 205, 0.5);
}

.hero-image {
    flex: 1;
    max-width: 400px;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Features Section */
#features {
    padding: 4rem 5%;
    text-align: center;
}

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

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    text-align: center;
}

.feature-card img {
    max-width: 250px;
    margin: 0 auto 1.5rem auto;
    border-radius: 10px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Final CTA Section */
#final-cta {
    background-color: var(--primary-color);
    color: #fff;
    padding: 4rem 5%;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#final-cta .cta-button {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: none;
}
#final-cta .cta-button:hover {
     box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 5%;
    font-size: 0.9rem;
}

footer a {
    color: #fff;
}
footer a:hover {
    text-decoration: underline;
}

footer p {
    margin: 0.5rem 0;
}


/* Animations */
.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive */
@media(max-width: 768px) {
    #hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

