/* Zero@Ecosystem Demo Gate Styles */

.gate-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 21, 78, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.gate-modal-overlay.active {
    display: flex;
}

.gate-modal {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: gateSlideUp 0.3s ease-out;
    position: relative;
}

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

.gate-header {
    background: #02154e;
    color: #ffffff;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gate-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
}

.gate-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
}

.gate-close:hover {
    opacity: 1;
}

.gate-body {
    padding: 2rem;
    text-align: center;
}

.gate-text {
    color: #666666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.gate-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #02154e;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    width: 100%;
}

.gate-btn:hover {
    background: #f9ba00;
    color: #02154e;
}

.teaser-container {
    position: relative;
    height: 240px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.teaser-preview {
    width: 100%;
    height: 100%;
    padding: 1rem;
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.teaser-fake-bar {
    height: 20px;
    background: #e0e0e0;
    border-radius: 4px;
    width: 60%;
}

.teaser-fake-content {
    height: 100px;
    background: #e0e0e0;
    border-radius: 4px;
    width: 100%;
}

.teaser-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
    z-index: 2;
}

.teaser-overlay-text {
    background: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: #02154e;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

/* Sign Out Button */
#gate-signout {
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    margin-left: 1rem;
    text-decoration: underline;
    display: none; /* Hidden by default */
}

#gate-signout:hover {
    color: #02154e;
}

#gate-auth-bar {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    gap: 8px;
}

.gate-mini-link {
    color: #02154e;
    background: #ffffff;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gate-mini-link:hover {
    color: #ffffff;
    background: #02154e;
}

/* Request Demo Form Section */
#request-demo {
    padding: 6rem 2rem;
    background: #f9fafb;
    border-top: 1px solid #e0e0e0;
}

.req-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.req-form-group {
    margin-bottom: 1.5rem;
}

.req-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #02154e;
}

.req-form-group input,
.req-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.req-form-group textarea {
    height: 120px;
    resize: vertical;
}

.req-submit-btn {
    width: 100%;
    padding: 1rem;
    background: #02154e;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.req-submit-btn:hover {
    background: #f9ba00;
    color: #02154e;
}
