:root {
    --primary-text: #1a202c; /* Deep slate */
    --secondary-text: #4a5568; /* Grey */
    --accent-color: #2b6cb0; /* Soft professional blue */
    --button-bg: #319795; /* Muted teal */
    --button-hover: #285e61; /* Darker teal */
    --bg-overlay: rgba(247, 250, 252, 0.85); /* Light frosted glass */
    --glass-border: rgba(255, 255, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--primary-text);
    position: relative;
    overflow-x: hidden;
}

.background-container {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(226,232,240,0.8) 100%);
    z-index: -1;
}

.content-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 1;
}

.glass-card {
    background: var(--bg-overlay);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.8s ease-out forwards;
}

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

.icon-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pause-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.main-headline {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-text);
}

.sub-headline {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
}

.empathetic-box {
    background-color: rgba(49, 151, 149, 0.08); /* subtle teal tint */
    border-left: 4px solid var(--button-bg);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
    text-align: left;
}

.empathetic-box p {
    font-size: 0.95rem;
    color: #2c5282; /* darker blue for reading */
    font-weight: 500;
    line-height: 1.5;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--primary-text);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.reactivate-btn {
    background-color: var(--button-bg);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(49, 151, 149, 0.3);
    display: inline-block;
    text-decoration: none;
}

.reactivate-btn:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 151, 149, 0.4);
}

.reactivate-btn:active {
    transform: translateY(0);
}

footer {
    padding: 1.5rem;
    text-align: center;
    background: transparent;
    z-index: 1;
}
/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    width: 90%;
    max-width: 480px;
    padding: 3rem 2.5rem;
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #a0aec0;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--primary-text);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-text);
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

#restaurantName {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.2s;
    outline: none;
}

#restaurantName:focus {
    border-color: #1a202c;
    box-shadow: 0 0 0 3px rgba(26, 32, 44, 0.05);
}

#restaurantName.input-error {
    border-color: #e53e3e;
}

.error-msg {
    display: none;
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.error-msg.active {
    display: block;
}

.modal-action-btn {
    width: 100%;
    background-color: #1a202c; /* Premium black */
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1.25rem;
}

.modal-action-btn:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cancel-link {
    background: none;
    border: none;
    color: #718096;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

.cancel-link:hover {
    color: var(--primary-text);
}

footer p {
    font-size: 0.85rem;
    color: var(--secondary-text);
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-card {
        padding: 2.5rem 1.5rem;
    }
    
    .main-headline {
        font-size: 1.75rem;
    }
    
    .pause-icon {
        width: 100px;
        height: 100px;
    }
}
