.demo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    font-family: Inter, system-ui, sans-serif;
}

.demo-box {
    max-width: 520px;
    width: 100%;
    background: #ffffff;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    position: relative;
}

.demo-link-back span:hover {
    text-decoration: underline;
}

.demo-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    padding: 4px 8px;
    border-radius: 999px;
    position: relative;
    top: -15px;
}

.demo-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.lastFeature svg {
    flex-shrink: 0;
}

.demo-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
    margin-top: 40px;
    text-transform: uppercase;
}

.demo-text {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

.demo-features {
    text-align: left;
    margin-bottom: 28px;
    display: inline-block;
}

.feature {
    font-size: 14px;
    color: #334155;
    margin-bottom: 8px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.demo-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demo-link-back {
    display: flex;
    align-items: center;
    gap: 4px;
}

.demo-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 16px 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
}

.demo-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.35);
}

.demo-email-box {
    text-align: left;
    margin-bottom: 24px;
}

.demo-email-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.demo-email-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    margin-bottom: 6px;
    transition: border 0.2s;
}

.demo-email-input:focus {
    outline: none;
    border-color: #4f46e5;
}

.demo-email-note {
    font-size: 12px;
    color: #64748b;
}

.demo-loader {
    margin-top: 24px;
    text-align: center;
}

.hidden {
    display: none!important;
}

.spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
}
.logo-text {
    width: 125px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 640px) {
    .demo-wrapper {
        padding: 20px;
    }

    .demo-box {
        border-radius: 16px;
        min-height: auto;
        padding: 32px;
    }

    .demo-title {
        font-size: 28px;
    }
}
