/* Basic Reset & Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #f5f5f7;
}

/* No longer needed as we'll use padding on sections */
/* .container { */
/*     width: 80%; */
/*     margin: auto; */
/*     overflow: hidden; */
/* } */

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
    border-bottom: 1px solid #e0e0e0;
}

header .logo {
    float: left;
    font-size: 1.2rem;
    font-weight: 600;
    padding-left: 20px;
    color: #1d1d1f;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 15px;
}

header a {
    color: #424245;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

header a:hover {
    color: #007aff;
}

/* Hero Section */
#hero {
    min-height: 550px; /* Increased height */
    background: #fbfbfd;
    text-align: center;
    color: #1d1d1f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow: hidden; /* To contain any potential background elements */
}

#hero h1 {
    font-size: 3.5rem; /* Larger font size */
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    line-height: 1.05;
    max-width: 900px;
}

#hero p {
    font-size: 1.4rem; /* Larger font size */
    margin-bottom: 30px;
    color: #424245;
    max-width: 700px;
}

.btn {
    display: inline-block;
    color: #fff;
    background: #007aff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 999px; /* Pill-shaped button */
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 1rem;
    font-weight: 400;
}

.btn:hover {
    background: #0060df;
    transform: translateY(-2px);
}

#hero .hero-image {
    width: 80%; /* Adjust as needed */
    max-width: 800px; /* Max width for the image */
    margin-top: 40px;
    border-radius: 18px; /* Slightly more rounded corners for a modern feel */
    box-shadow: 0 15px 60px rgba(0,0,0,0.15); /* More prominent shadow for the main image */
    transform: rotateX(5deg) rotateY(-5deg) rotateZ(0deg);
    transition: transform 0.5s ease;
    perspective: 1000px;
}

#hero .hero-image:hover {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.02);
}

/* General Section Styling */
section {
    padding: 80px 20px; /* More generous padding */
    margin-bottom: 0; /* Remove margin-bottom, let padding handle spacing */
    background: #fff;
    border-radius: 0; /* Remove border-radius */
    box-shadow: none; /* Remove box shadow for a flatter look */
    max-width: 1000px; /* Adjusted max-width */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box; /* Ensure padding is included in width */
}

section h2 {
    text-align: center;
    margin-bottom: 40px; /* More space below heading */
    color: #1d1d1f;
    font-size: 2.8rem; /* Adjusted font size */
    letter-spacing: -0.02em;
}

/* Features Section */
#features {
    background-color: #fbfbfd;
    padding-top: 60px;
    padding-bottom: 60px;
}

#features h2 {
    margin-bottom: 60px;
}

#features .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-left: none; /* Remove border */
    border-radius: 12px; /* Softer corners */
    box-shadow: 0 8px 30px rgba(0,0,0,0.05); /* Subtle shadow */
    text-align: center;
}

.feature-item h3 {
    color: #1d1d1f;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-item p {
    color: #6e6e73;
    font-size: 1.05rem;
}

/* Screenshots Section (removed) */
/* #screenshots {
    background-color: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
}

#screenshots .screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

#screenshots img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#screenshots img:hover {
    transform: translateY(-5px);
} */

/* Forms Styling (Registration & Contact) */
.registration-form, .contact-form {
    max-width: 550px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    margin-top: 40px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1d1d1f;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    color: #1d1d1f;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.registration-form .btn, .contact-form .btn {
    width: auto; /* Revert to auto width for buttons in forms */
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    display: block; /* Make button a block element to center */
    margin: 20px auto 0 auto; /* Center button */
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background: #f5f5f7;
    color: #86868b;
    margin-top: 0; /* Remove margin-top */
    border-top: 1px solid #e0e0e0;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav {
        flex-direction: row; /* Keep nav items in a row for mobile, but adjust spacing */
        justify-content: center; /* Center nav items */
    }

    header .logo {
        padding-bottom: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    header ul {
        width: 100%;
        text-align: center;
    }

    header li {
        display: inline-block; /* Keep inline-block for better spacing */
        padding: 0 10px;
        border-bottom: none;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 40px 15px;
    }

    section h2 {
        font-size: 2.2rem;
    }

    .feature-item {
        padding: 25px;
    }

    #hero .hero-image {
        width: 90%;
        margin-top: 30px;
    }

    /* Old screenshots img styles are commented out already */

    .registration-form, .contact-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    header li {
        padding: 0 8px;
        font-size: 13px;
    }

    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }
}
