body {
    background: linear-gradient(111.8deg, rgb(0, 0, 0) 19.8%, rgb(40, 40, 40) 92.1%);
	background-size: 400% 400%;
    background-color: rgb(0, 0, 0);
	animation: gradient 15s ease infinite;
	color: white;
	font-family: "Manrope", sans-serif;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -500;
}

#bgVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 2;
}

footer a, footer .subscribe {
    color: white;
    position: relative;
    text-decoration: none; 
    opacity: 0;
    animation: fadeInAnimation 2s 4s ease-in forwards;
}

footer a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  
footer a:hover::before {
    transform: scaleX(1);
  }

.logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px; 
    height: auto;
    text-align: center; 
    opacity: 0;
    animation: fadeInAnimation 2s ease-in forwards;
    margin-bottom: 20px; /* Add space between logo and tagline */
    width: 90px; /* Set logo width */
}

.tagline {
    font-size: 2em;
    margin-top: 0px;
    opacity: 0;
    animation: fadeInAnimation 2s 2s ease-in forwards;
    line-height: 1.3em;
    max-width: 850px;
    font-weight: 200;
    font-family: "Manrope", sans-serif;
}

@media (max-width: 768px) {
    .tagline {
    text-align: center;
    margin: 20px 10px 20px 10px;
    font-size: 1.2em;
    }
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.content-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 100%);
}

.problem, .solution {
    max-width: 700px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInAnimation 2s ease-in forwards;
}

.solution {
    animation-delay: 2s;
}

.section-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.7;
    font-weight: 400;
}

.big-text {
    font-size: 1.4em;
    line-height: 1.3;
    font-weight: 300;
    text-align: justify;
}

@media (max-width: 768px) {
    .big-text {
        font-size: 1em;
    }
}

.medium-text {
    font-size: 1.2em;
    line-height: 1.5;
    font-weight: 300;
    text-align: justify;
}

@media (max-width: 768px) {
    .medium-text {
        font-size: 1em;
    }
}


.highlight-text {
    font-size: 1rem;
    line-height: 1.6;
}

.highlight {
    display: inline;
    position: relative;
    font-weight: 700;
    color: white;
}

.highlight::after {
    content: none;
}

.highlight.active {
    color: white;
}

.highlight.active::after {
    transform: none;
}

.feature-list {
    text-align: left;
    padding-left: 1.2rem;
    margin-top: 1rem;
}

.feature-list li {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-list li.visible {
    opacity: 1;
    transform: translateX(0);
}

.feature-list .highlight {
    font-weight: 600;
}

@media (max-width: 768px) {
    .feature-list {
        padding-left: 1rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }
}

.waiting-list-section {
    max-width: 700px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInAnimation 2s ease-in forwards;
    animation-delay: 4s;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.waiting-list-section h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.7;
    font-weight: 400;
}

.waiting-list-section p {
    font-size: 1em;
    line-height: 1.3;
    font-weight: 300;
    margin-bottom: 2rem;
}

.form-wrapper {
    align-self: center;
    width: 100%;
    max-width: 600px;
}

#waitingListForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
}

#waitingListForm input[type="email"],
#waitingListForm select,
#waitingListForm input[type="text"],
#waitingListForm textarea,
#waitingListForm button {
    font-family: "Manrope", sans-serif;

    width: 100%;
    max-width: 600px;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    box-sizing: border-box;
    text-align: center;
}

#waitingListForm input::placeholder,
#waitingListForm textarea::placeholder,
#waitingListForm select {
    color: rgba(255, 255, 255, 0.7);
}

#waitingListForm button {
    background-color: white;
    color: black;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#waitingListForm button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

#waitingListForm select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 50%;
}

#waitingListForm textarea {
    height: 100px;
    resize: vertical;
}

#waitingListForm select option {
    background-color: rgb(50, 50, 50);
    color: white; 
}

#waitingListForm select option:selected {
    background-color: black;
    color: white; 
}

#additionalFields {
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#additionalFields p {
    text-align: center;
}

#additionalFields.visible {
    opacity: 1;
}

#welcomeMessage {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    margin-top: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    align-self: center;
}

#welcomeMessage.visible {
    opacity: 1;
}

.dictionary-section {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0);
}

.dictionary-section p {
    margin: 0.5em 0;
    max-width: 600px;
}

@media (max-width: 768px) {
    .dictionary-section p {
        font-size: 0.8em;
        max-width: 90%;
    }
}

.video-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

#bgVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.container {
    position: relative;
    z-index: 2; /* Ensure this is higher than the overlay's z-index */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.solution-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.solution-text {
    flex: 1;
}

.solution-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInFromRight 1s ease-out forwards;
    animation-delay: 2.5s;
}

@keyframes fadeInFromRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add responsive design for mobile devices */
@media (max-width: 768px) {
    .solution-content {
        flex-direction: column;
        gap: 2rem;
    }

    .app-screenshot {
        max-width: 70%;
    }
}

.early-access-button {
    background-color: white;
    color: black;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    font-family: "Manrope", sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    opacity: 0;
    animation: fadeInAnimation 2s 3s ease-in forwards;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.early-access-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .early-access-button {
        font-size: 1em;
        padding: 10px 20px;
    }
}

.waitlist-benefits {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
}

.benefit-icon {
    font-size: 1.5rem;
}

.social-proof {
    text-align: center;
    margin: 2rem 0;
}

.counter-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    display: inline-block;
}

.counter {
    font-size: 1.2rem;
}

#waitlistCounter {
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.form-step-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.step.active {
    background: white;
    color: black;
}

.success-message {
    color: #4CAF50;
    margin: 1rem 0;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s ease;
}

.submit-button:hover {
    transform: translateX(5px);
}

.button-icon {
    transition: transform 0.2s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(5px);
}

.privacy-notice {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 1rem 0;
}

.next-steps {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.next-steps ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.next-steps li {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .waitlist-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefit-item {
        min-width: unset;
    }
}

.waitlist-intro {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 700px;
    text-align: center;
}

@media (max-width: 768px) {
    .waitlist-intro {
        font-size: 1em;
        margin: 1rem 0;
    }
}

.waiting-list-section h3.section-label {
    text-align: center;
    margin-bottom: 1.5rem;
}