/* Use colors from mint-fresh.ts */
:root {
    --bg-light: rgb(245 255 250);   /* #F5FFFA */
    --bg-dark: rgb(235 250 245);    /* #EBFAF5 */
    --card-light: rgb(255 255 255); /* #FFFFFF */
    --primary: rgb(0 200 180);      /* #00C8B4 */
    --primary-hover: rgb(0 180 160); /* #00B4A0 */
    --text: rgb(40 60 70);          /* #283C46 */
    --text-secondary: rgb(120 150 160); /* #7896A0 */
    --border: rgb(180 230 210);     /* #B4E6D2 */
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-image: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

/* Main Container Card */
.container {
    background: var(--card-light);
    border-radius: 1.5rem; /* 24px */
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 200, 180, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin: 0 auto 1.5rem auto;
}

/* Typography */
h1 {
    font-size: 2.25rem; /* 36px */
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
}

.subtitle {
    font-size: 1.125rem; /* 18px */
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Form */
#notify-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#notify-form input[type="email"] {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem; /* 8px */
    background: var(--bg-light);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

#notify-form input[type="email"]::placeholder {
    color: var(--text-secondary);
}

#notify-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 200, 180, 0.2);
}

#notify-form button {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem; /* 8px */
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

#notify-form button:hover {
    background-color: var(--primary-hover);
}

#notify-form button:disabled {
    background-color: var(--text-secondary);
    cursor: not-allowed;
}

/* Form Status Message */
#form-status {
    margin-top: 1rem;
    font-size: 0.875rem;
    height: 1.25em; /* Reserve space */
}
#form-status.success {
    color: var(--primary);
}
#form-status.error {
    color: #E53E3E; /* Red for errors */
}

/* Socials */
.socials {
    margin-top: 2rem;
}

.socials a {
    display: inline-block;
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 99px;
    transition: color 0.2s, background-color 0.2s;
}

.socials a:hover {
    color: var(--primary);
    background-color: var(--bg-dark);
}

/* Responsive */
@media (min-width: 500px) {
    #notify-form {
        flex-direction: row;
    }
    #notify-form input[type="email"] {
        flex: 1;
    }
    #notify-form button {
        width: auto;
    }
    .container {
        padding: 3rem;
    }
}
