:root {
    --primary-purple: #6141AC;
    --light-purple: #CEC5F1;
    --medium-gray: #B7B4C2;
    --dark-gray: #38393c;
    --off-white: #E7E9EC;
}

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-purple);
    background-color: var(--off-white);
}

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

header {
    background-color: var(--primary-purple);
    color: var(--off-white);
    padding: 1rem 0;
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
}

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

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

nav ul li a {
    color: var(--off-white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--light-purple);
}

#hero {
    background-color: var(--light-purple);
    color: var(--off-white);
    text-align: center;
    padding: 4rem 0;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}


.cta-button {
    display: inline-block;
    background-color: var(--primary-purple);
    color: var(--off-white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

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

section {
    padding: 4rem 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-purple);
}

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

.text-content, .image-content {
    flex: 1;
}

p {
    flex: 1px;
    color: var(--dark-gray);
}

.rounded-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.feature-item {
    background-color: var(--light-purple);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-item-simple {
    color: var(--dark-gray);
    padding: 1rem;
    border-radius: 50px;
    text-align: center;
}

.feature-icon {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 30%;
    margin-bottom: 2rem;
}

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

#waitlist {
    background-color: var(--light-purple);
}

form {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

input[type="email"] {
    padding: 0.8rem;
    width: 300px;
    border: none;
    border-radius: 5px 0 0 5px;
    background-color: var(--off-white);
    color: var(--primary-purple);
}

button {
    background-color: var(--primary-purple);
    color: var(--off-white);
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--off-white);
    color: var(--primary-purple);
}

footer {
    background-color: var(--primary-purple);
    color: var(--off-white);
    padding: 2rem 0;
    text-align: center;
}

.social-links {
    margin-top: 1rem;
}

.social-icon {
    color: var(--off-white);
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--light-purple);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-purple);
    color: var(--off-white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
}

.scroll-to-top:hover {
    background-color: var(--light-purple);
    color: var(--primary-purple);
}

.scroll-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top i {
    font-size: 1.2rem;
}

.hidden {
    display: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 1rem;
    }

    .flex-container {
        flex-direction: column;
    }

    input[type="email"] {
        width: 200px;
    }
}

.p2 {
    flex: 1px;
    color: var(--off-white);
}
