/* Root Colors */
:root {
    --tan-color: #b7a57a; /* Tan text color */
    --email-box-bg: #85754d; /* Email box background */
    --purple-background: #4B006E; /* Purple background */
    --light-beige: #EAE0D5; /* Light beige color for input and button */
}

/* General Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--purple-background); /* Purple background */
    color: var(--tan-color); /* Tan text color */
    text-align: center;
    min-height: 100vh; /* Allow content to expand beyond viewport */
}

/* Banner Styling */
.banner-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px; /* Ensure spacing at the top */
}

.title-banner {
    max-width: 40%; /* Scales image to 40% of screen width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px; /* Space below the banner */
}

/* Intro Text Styling */
.intro-text {
    width: 80%; /* Set width to 80% of the screen */
    margin-top: 10px; /* Position below banner */
    margin-bottom: 20px; /* Space below the intro text */
    padding: 0 10%; /* Add side padding for smaller screens */
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 auto; /* Center the text */
    font-weight: bold;
}

/* Buttons Container */
.buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between buttons */
    margin: 20px 0; /* Space above and below the buttons */
}

/* Stay Updated Button Styling */
.popup-trigger {
    background-color: var(--light-beige); /* Light beige background */
    color: var(--purple-background); /* Purple text */
    padding: 10px 20px; /* Button padding */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    width: auto; /* Auto width based on content */
}

.popup-trigger:hover {
    background-color: var(--tan-color); /* Tan background on hover */
    color: var(--purple-background); /* Purple text */
}

/* Tool Link Styling */
.tool-link {
    background-color: #5E503F; /* Dark brown background */
    color: var(--light-beige); /* Light beige text */
    padding: 10px 20px; /* Padding for the link */
    text-decoration: none; /* Remove underline */
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px; /* Rounded corners */
    display: inline-block;
    text-align: center;
}

.tool-link:hover {
    background-color: #22333B; /* Dark blue-gray on hover */
    color: var(--light-beige); /* Keep light beige text */
}

/* GIF Styling */
.gif-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0; /* Space around the GIF */
    width: 100%;
}

.intro-gif {
    width: 65%; /* Fixed width set to 65% of the screen */
    max-height: 400px; /* Limit the maximum height to 400px */
    object-fit: contain; /* Ensure the GIF maintains its aspect ratio */
    border-radius: 10px; /* Optional: Rounded corners */
}

/* Body Text Styling */
.body-text {
    width: 80%; /* Set width to 80% of the screen */
    margin-top: 20px; /* Space above the body text */
    margin-bottom: 20px; /* Default spacing below the body text */
    padding: 0 10%; /* Add side padding for smaller screens */
}

.body-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 auto; /* Center the text */
    font-weight: bold;
}

/* Empty Banner Styling */
.empty-banner {
    width: 100%; /* Full width */
    height: 50px; /* Creates the necessary space at the bottom */
    background-color: var(--purple-background); /* Match the page background */
    flex-shrink: 0; /* Prevent shrinking */
}

/* Popup Styling */
.popup-container {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Keeps pop-up on top */
}

/* Popup Content */
.popup-content {
    background-color: var(--email-box-bg); /* Matches email box background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 90%;
    max-width: 400px; /* Keeps size consistent */
    position: relative;
    animation: fadeIn 0.3s ease-in-out; /* Smooth pop-in effect */
}

/* Close Button */
.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-beige);
}

/* Form Input and Button Styling */
label {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--light-beige);
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0 20px;
    border: 1px solid var(--light-beige);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--purple-background);
    background-color: var(--light-beige);
}

/* Button Styling */
.popup-content button {
    width: 100%;
    padding: 10px;
    background-color: var(--light-beige);
    color: var(--purple-background);
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.popup-content button:hover {
    background-color: var(--tan-color);
    color: var(--purple-background);
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Coming Soon Styling */
.coming-soon-container {
    margin-top: 50px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #b7a57a; /* Tan color */
}

/* Free Beta Announcement Styling */
.free-beta-container {
    margin-top: 50px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #b7a57a; /* Tan color */
}
