/* Basic Reset & Body Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
header {
    background-color: #222;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

header .logo {
    max-width: 150px;
    height: auto;
}

/* Main Content - Hero Section */
.hero {
    background: url('../img/background.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    flex-grow: 1; /* Allows main content to expand */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.1em;
    margin-bottom: 25px;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Signup Form */
.signup-form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.signup-form input[type="email"] {
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1em;
    width: 250px;
    max-width: 80%;
}

.signup-form button {
    background-color: #7a42f4; /* A mystical purple */
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.signup-form button:hover {
    background-color: #6a32e4;
}

/* Social Links */
.social-links a {
    display: inline-block;
    margin: 0 10px;
}

.social-links img {
    width: 30px;
    height: 30px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links img:hover {
    opacity: 1;
}

/* Legal Content Section */
.legal-content {
    padding: 40px 0;
    background-color: #fff;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
    color: #222;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 10px;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #7a42f4;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .hero h2 {
        font-size: 1.5em;
    }

    .signup-form input[type="email"] {
        width: 100%;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .signup-form button {
        width: 100%;
        border-radius: 5px;
    }
}
