@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

/* General Body Styles */
body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    color: #FFFFFF; /* Default text color to white for dark background */
    background-image: url("../assets/background.png");
    background-size: cover;
    background-repeat: repeat; /* Assuming the pattern is tileable */
    background-attachment: fixed;
    font-size: 16px;
}

/* Ensure Roboto is applied explicitly to common text elements */
h1, h2, h3, h4, h5, h6,
p, li, a, span,
label, input, textarea, select, button,
.tagline, .btn, nav a /* Ensuring specific components also explicitly use it if not inheriting perfectly */
{
    font-family: "Roboto", sans-serif;
}

.container {
    width: 85%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
    background-color: rgba(0, 51, 0, 0.85); /* Darker, semi-transparent green for content readability, matching app style */
    border-radius: 10px;
    margin-top: 25px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Header Styles */
header {
    background: transparent; /* Header background to be transparent to show main page background */
    color: #FDEE00; /* Bright yellow for main title */
    padding-top: 20px;
    padding-bottom: 10px;
    text-align: center;
    border-bottom: 3px solid #FDEE00; /* Yellow border */
}

header #logo {
    width: 70px; /* Adjust as needed */
    height: auto;
    margin-bottom: 5px;
}

header h1 {
    margin: 0;
    font-size: 2.8em;
    font-weight: 700; /* Bolder Roboto */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

header .tagline {
    margin-top: 8px;
    font-size: 1.3em;
    color: #FFFFFF; /* White for tagline */
}

/* Navigation Bar Styles */
nav {
    background: rgba(0, 30, 0, 0.9); /* Very dark, semi-transparent green for nav */
    color: #FFFFFF;
    padding: 12px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #FDEE00;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.95em;
    font-weight: 700; /* Bolder Roboto */
    padding: 10px 18px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #FDEE00; /* Yellow text on hover/active */
    background-color: rgba(60, 120, 60, 0.5); /* Slightly lighter green for hover background */
    border-radius: 5px;
}

/* Main Content Styles */
main {
    padding-bottom: 20px; /* Space for footer */
}

main section {
    padding: 25px 0;
}

main h2 {
    color: #FDEE00; /* Bright yellow for section titles */
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.2em;
    font-weight: 700; /* Bolder Roboto */
}

main h3 {
    color: #FDEE00; /* Bright yellow for sub-headings */
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.6em;
    font-weight: 700; /* Bolder Roboto */
}

main p, main li {
    color: #E0E0E0; /* Light gray/off-white for body text for better readability */
    line-height: 1.7;
    font-size: 1.05em;
}

main ul {
    list-style: none;
    padding: 0;
}

main ul li {
    background: rgba(0, 60, 0, 0.6); /* Darker green for list items, matching content box style */
    margin-bottom: 12px;
    padding: 15px;
    border-left: 5px solid #FDEE00; /* Yellow accent border */
    border-radius: 6px;
}

.btn {
    display: inline-block;
    background: #FDEE00; /* Yellow background for buttons */
    color: #000000; /* Black text for yellow buttons */
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-weight: 700; /* Bolder Roboto */
    font-size: 1.1em;
}

.btn:hover {
    background: #E0CF00; /* Slightly darker yellow on hover */
    transform: translateY(-2px);
}

/* Hero Section Specifics */
#hero {
    text-align: center;
    padding: 30px 0;
}

#hero p {
    font-size: 1.25em;
    line-height: 1.6;
    color: #FFFFFF;
}

/* Policy and About Page Specifics */
.policy-section h4, #about-content h3, #privacy-content h3, #legal-content h3, #contact-content h3 {
    margin-top: 25px;
    color: #FDEE00;
}

.policy-section p, #privacy-content p, #legal-content p, #contact-content p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #E0E0E0;
}

/* Specific styling for About page text */
#about-content p {
    font-size: 1.25em; /* Further increased font size for About page paragraphs */
    line-height: 1.9; /* Further increased line height for About page paragraphs */
    margin-bottom: 20px; /* Slightly more space between paragraphs */
    color: #F0F0F0; /* Even brighter white for better readability on dark green */
}

.policy-section ul li, #privacy-content ul li, #legal-content ul li {
    background: transparent;
    border-left: none;
    padding-left: 0;
    margin-bottom: 8px;
    list-style-type: none; /* Removing default list style */
    margin-left: 0;
    padding-left: 20px; /* Indent for custom bullet */
    position: relative;
}

.policy-section ul li::before, #privacy-content ul li::before, #legal-content ul li::before {
    content: "\2713"; /* Checkmark character */
    color: #FDEE00; /* Yellow checkmark */
    font-weight: 700; /* Bolder Roboto */
    display: inline-block;
    position: absolute;
    left: 0;
}

.policy-divider {
    margin: 35px 0;
    border: 0;
    border-top: 1px solid #FDEE00;
}

/* Contact Form Styles */
#contact-form div {
    margin-bottom: 18px;
}

#contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700; /* Bolder Roboto */
    color: #FDEE00;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form select,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #3A7D3A; /* Green border for form fields */
    border-radius: 6px;
    box-sizing: border-box;
    background-color: rgba(0, 20, 0, 0.7);
    color: #FFFFFF;
    font-size: 1em;
}

#contact-form input[type="text"]::placeholder,
#contact-form input[type="email"]::placeholder,
#contact-form textarea::placeholder {
    color: #AAAAAA;
}

#contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form button[type="submit"] {
    /* Uses .btn styles */
}

/* Footer Styles */
footer {
    background: rgba(0, 30, 0, 0.9); /* Very dark, semi-transparent green for footer */
    color: #A0D0A0; /* Lighter green for footer text */
    text-align: center;
    padding: 25px 0;
    margin-top: 30px;
    border-top: 1px solid #FDEE00;
}

footer p {
    margin: 6px 0;
    font-size: 0.95em;
}

/* Links in general text */
a {
    color: #FDEE00; /* Yellow for links */
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media(max-width: 768px){
    .container {
        width: 95%;
        padding: 15px;
    }

    header h1 {
        font-size: 2.2em;
    }
    header .tagline {
        font-size: 1.1em;
    }

    nav a {
        display: block;
        padding: 12px;
        margin: 5px 0;
    }

    main h2 {
        font-size: 1.9em;
    }

    main h3 {
        font-size: 1.4em;
    }
    .btn {
        font-size: 1em;
        padding: 10px 20px;
    }
    #about-content p {
        font-size: 1.1em; /* Adjust for mobile readability */
        line-height: 1.7;
    }
}


/* Download Page Specific Styles */
#download-options .download-platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 40px;
}

.platform-card {
    background: rgba(0, 40, 0, 0.7);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    width: 40%;
    min-width: 250px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(253, 238, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.platform-logo {
    width: 180px; /* Updated to 180px size */
    height: auto;
    margin: 15px 0;
}

.download-btn {
    display: block;
    width: 80%;
    margin: 20px auto 10px;
    padding: 15px;
    font-size: 1.1em;
}

.coming-soon {
    color: #FDEE00;
    font-style: italic;
    margin-top: 5px;
}

.download-info {
    background: rgba(0, 40, 0, 0.7);
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.download-info h3 {
    border-bottom: 1px solid rgba(253, 238, 0, 0.3);
    padding-bottom: 10px;
}

/* Responsive adjustments for download page */
@media(max-width: 768px){
    .platform-card {
        width: 90%;
    }
    
    .download-btn {
        width: 100%;
    }
}
