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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #f1f5f9;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Wrapper to center everything */
.dashboard-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* Main Container */
.dashboard-container {
    max-width: 896px;
    width: 100%;
    padding: 2rem 1.5rem;
    background-color: #1e293b;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Header */
header {
    margin-bottom: 2rem;
}

.logo {
    max-height: 192px;
    margin-bottom: 1rem;
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #38bdf8;
}

.slogan {
    font-size: 1.1rem;
    font-weight: 500;
    color: #a855f7;
    margin-top: 0.5rem;
}

/* Card Sections */
.card {
    background-color: #0f172a;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulseGlow 3s infinite ease-in-out;
    overflow: visible; /* Ensure content isn’t clipped */
}

/* Glowing Border Animation */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(56, 189, 248, 0.3), 0 0 20px rgba(56, 189, 248, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.5), 0 0 30px rgba(56, 189, 248, 0.3);
    }
}

/* Hover Effect for Cards */
.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.4), 0 0 40px rgba(56, 189, 248, 0.2);
}

/* Specific Card Content Styles */
.main-message h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.main-message p,
.signup-form p {
    font-size: 1rem;
    color: #cbd5e1;
}

/* Form */
.signup-form h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.signup-form form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.signup-form input[type="email"] {
    padding: 0.6rem 1rem;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    background-color: #1e293b;
    color: #f1f5f9;
    font-size: 1rem;
    max-width: 300px;
    width: 100%;
}

.signup-form button {
    padding: 0.6rem 1.5rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.signup-form button:hover {
    background-color: #2563eb;
}

.success-message {
    color: #22c55e;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.error-message {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Social Icons */
.social-media h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    color: #94a3b8;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #38bdf8;
}

/* Footer */
footer {
    text-align: center;
    font-size: 0.9rem;
    padding-top: 1rem;
    color: #64748b;
    border-top: 1px solid #334155;
}

footer a {
    color: #3b82f6;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: #38bdf8;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 1.5rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .slogan {
        font-size: 1rem;
    }

    .main-message h2 {
        font-size: 1.25rem;
    }

    .signup-form form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .signup-form input[type="email"] {
        max-width: 100%;
    }
}