/* Basic Reset & Body Styling */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif; /* Professional, clean sans-serif font */
    background-color: #FAFAFA; /* Very light background for overall theme */
    color: #333; /* Dark gray for main text */
    display: flex; /* Use flexbox to center the container */
    justify-content: center; /* Horizontally center the container */
    align-items: flex-start; /* Align content to the top */
    min-height: 100vh; /* Ensure full viewport height */
    padding: 20px 0; /* Vertical padding around the container */
    box-sizing: border-box; /* Include padding in element's total width/height */
}

/* Main Content Container */
.container {
    width: 70%; /* The core content area as requested */
    max-width: 1000px; /* Optional: limits max width on very large screens for readability */
    background-color: #FFFFFF; /* White background for the content box */
    border: 1px solid #E5E5E5; /* Light, subtle border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Soft, professional shadow */
    padding: 40px 60px; /* Ample internal padding for content */
    box-sizing: border-box;
    display: flex; /* Use flexbox for internal layout */
    flex-direction: column; /* Stack header, main, footer vertically */
    min-height: calc(100vh - 40px); /* Account for body padding in min-height */
}

/* Header Styling */
header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #EEEEEE; /* A very light separator line */
    margin-bottom: 30px;
}

header h1 {
    color: #311C17; /* Specified dark brown for "Welcome" */
    font-size: 3.2em; /* Larger, prominent title */
    margin: 0;
    font-weight: 600; /* Semi-bold for emphasis */
    display: inline-block; /* Allows the coffee cup to sit next to it */
}

/* Coffee Cup Styling */
.coffee-cup {
    font-size: 0.6em; /* Make the coffee cup very small relative to the title */
    vertical-align: middle; /* Align with the text */
    margin-left: 8px; /* Small space between "Welcome" and the cup */
    opacity: 0.7; /* Slightly faded for subtlety */
}

/* Main Content Area */
main {
    flex-grow: 1; /* Allows main content to take up all available vertical space */
    font-size: 1.1em;
    line-height: 1.7;
    color: #555; /* Slightly lighter text for readability */
}

/* AI Note Styling (very, very small text) */
.ai-note {
    text-align: center;
    margin-top: 30px; /* Space above the note */
    padding-top: 15px;
    border-top: 1px solid #EEEEEE; /* Separator line above the note */
}

.ai-note p {
    font-size: 0.6em; /* Very, very small font size */
    color: #A0A0A0; /* Light gray for the note */
    margin: 0; /* Remove default paragraph margins */
}

/* Footer Styling */
footer {
    display: flex;
    justify-content: space-between; /* Puts email left, copyright right */
    align-items: center;
    padding-top: 20px;
    margin-top: 20px; /* Space above the footer content */
    font-size: 0.85em; /* Slightly smaller text for footer */
    color: #777;
}

.footer-left a {
    color: #007BFF; /* Standard blue for links */
    text-decoration: none;
}

.footer-left a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .container {
        width: 80%; /* Increase width slightly on medium screens */
        padding: 30px 40px;
    }

    header h1 {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    body {
        padding: 15px 0;
    }
    .container {
        width: 90%; /* Wider on smaller screens for better usability */
        padding: 25px 30px;
        min-height: calc(100vh - 30px); /* Adjust min-height for body padding */
    }

    header h1 {
        font-size: 2.3em;
    }

    .coffee-cup {
        font-size: 0.55em;
    }

    main {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .coffee-cup {
        font-size: 0.5em;
        margin-left: 5px;
    }

    footer {
        flex-direction: column; /* Stack footer elements on very small screens */
        text-align: center;
    }

    .footer-left, .footer-right {
        margin-bottom: 8px; /* Space between stacked footer items */
    }

    .ai-note p {
        font-size: 0.55em; /* Even smaller if needed on tiny screens */
    }
}

