/* --- Reset & Core Variables --- */
:root {
    --bg-dark: #0f172a;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* --- Subtle Tech Background Grid --- */
.background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* --- Layout Container --- */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* --- Header & Logo --- */
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent);
    font-weight: 400;
}

/* --- Main Glassmorphism Card --- */
.content-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Inline Subscription Form --- */
.notify-form {
    display: flex;
    width: 100%;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.6);
    padding: 0.4rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.notify-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.8rem 1.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.notify-form input::placeholder {
    color: #64748b;
}

.notify-form button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.notify-form button:hover {
    background: #3b82f6;
    transform: translateY(-1px);
}

/* --- Footer & Socials --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

footer p {
    font-size: 0.8rem;
    color: #475569;
}

/* --- Responsive Adjustments --- */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .content-card { padding: 2rem 1.2rem; }
    .notify-form { flex-direction: column; background: transparent; border: none; padding: 0; }
    .notify-form input { background: rgba(15, 23, 42, 0.6); border-radius: 25px; border: 1px solid var(--glass-border); margin-bottom: 0.5rem;}
    .notify-form button { width: 100%; padding: 1rem; }
}

/* --- Webmail Access Link --- */
.admin-access {
    margin-bottom: 1.5rem;
}

.webmail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.webmail-btn i {
    font-size: 0.95rem;
    color: var(--accent); /* Uses your main corporate blue */
}

.webmail-btn:hover {
    color: var(--text-main);
    background: rgba(37, 99, 235, 0.1); /* Subtle blue glow on hover */
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}