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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background-color: #1A73E8;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-menu {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #1A73E8;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 15px 0;
        text-align: center;
    }

    .nav-menu li a {
        display: block;
        padding: 10px;
    }
}

main {
    margin-top: 60px;
}

section {
    padding: 4rem 2rem;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #1A73E8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2rem;
    color: #2C5EA9;
}

.hero {
    background-color: #ecf0f1;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.upload-area {
    border: 3px dashed #4285F4;
    border-radius: 10px;
    padding: 3rem;
    margin: 3rem auto;
    max-width: 90%;
    background-color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-area:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.upload-area p {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
}

.upload-area .upload-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.upload-area .upload-text {
    font-weight: bold;
    color: #4285F4;
}

.cta-button {
    display: inline-block;
    background-color: #4285F4;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #3367D6;
}

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

.feature-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.technology, .privacy {
    background-color: #ecf0f1;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.popup-content {
    background-color: #3498db;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    position: relative;
    color: white;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.popup h2 {
    color: white;
}

.popup form {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.popup input[type="email"] {
    padding: 0.5rem;
    width: 60%;
    border: none;
    border-radius: 3px 0 0 3px;
    color: #333;
}

.popup input[type="email"]::placeholder {
    color: #999;
}

.popup button {
    padding: 0.5rem 1rem;
    background-color: #1A73E8;
    color: white;
    border: none;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.popup button:hover {
    background-color: #3B78E7;
}

#signup-message {
    margin-top: 1rem;
    font-weight: bold;
    color: #ffffff;
    padding: 0.5rem;
    border-radius: 4px;
    min-height: 2.5rem; /* Ensure consistent height */
    display: flex;
    align-items: center;
    justify-content: center;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 1rem 0;
}
